diff --git a/src/views/trials/trials-panel/reading/pending-review/index.vue b/src/views/trials/trials-panel/reading/pending-review/index.vue
index a595ed6..62c0bfe 100644
--- a/src/views/trials/trials-panel/reading/pending-review/index.vue
+++ b/src/views/trials/trials-panel/reading/pending-review/index.vue
@@ -142,6 +142,7 @@
v-loading="loading"
:data="list"
ref="reviewTable"
+ height="100%"
stripe
@sort-change="handleSortChange"
>
@@ -406,29 +407,35 @@
-
- {{
- item.DictionaryCode
- ? $fd(
- item.DictionaryCode,
- parseInt(
- scope.row.PIReadingResultList.find(
- (v) => v.QuestionId === item.QuestionId
- ).Answer
+
+
+ {{
+ item.DictionaryCode
+ ? $fd(
+ item.DictionaryCode,
+ parseInt(
+ scope.row.PIReadingResultList.find(
+ (v) => v.QuestionId === item.QuestionId
+ ).Answer
+ )
)
- )
- : scope.row.PIReadingResultList.find(
- (v) => v.QuestionId === item.QuestionId
- ).Answer
- }}
-
+ : scope.row.PIReadingResultList.find(
+ (v) => v.QuestionId === item.QuestionId
+ ).Answer
+ }}
+
+
{
- if (this.$refs.reviewTable) {
- this.$refs.reviewTable[0].doLayout();
- }
- });
+ // this.$nextTick(() => {
+ // if (this.$refs.reviewTable) {
+ // this.$refs.reviewTable[0].doLayout();
+ // }
+ // });
})
.catch(() => {
this.loading = false;
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 290ce0f..30a4f7b 100644
--- a/src/views/trials/trials-panel/reading/reading-tracking/index.vue
+++ b/src/views/trials/trials-panel/reading/reading-tracking/index.vue
@@ -169,7 +169,7 @@
show-overflow-tooltip
>
- {{ scope.row.DoctorUser.UserName }}
+ {{ (scope.row.DoctorUser || {}).UserName }}
@@ -181,12 +181,10 @@
show-overflow-tooltip
>
- {{
- $fd("ReadingTaskState", scope.row.ReadingTaskState)
- }}
- {{
- $fd("ReadingTaskState", scope.row.ReadingTaskState)
- }}
+ {{ $fd("ReadingTaskState", scope.row.ReadingTaskState) }}
diff --git a/src/views/trials/trials-panel/subject/subject-list/components/add-subject.vue b/src/views/trials/trials-panel/subject/subject-list/components/add-subject.vue
index 2c9678a..7155918 100644
--- a/src/views/trials/trials-panel/subject/subject-list/components/add-subject.vue
+++ b/src/views/trials/trials-panel/subject/subject-list/components/add-subject.vue
@@ -53,6 +53,14 @@
>
{{ $t("trials:addRP:button:confirmAddPR") }}
+
@@ -234,6 +242,35 @@ export default {
console.log(err);
}
},
+ // 移除项目
+ async remove() {
+ try {
+ let confirm = await this.$confirm(
+ this.$t("trials:sitesList:message:removeSite"),
+ {
+ type: "warning",
+ distinguishCancelAndClose: true,
+ confirmButtonText: this.$t("common:button:confirm"),
+ cancelButtonText: this.$t("recompose:button:cancel"),
+ }
+ );
+ if (confirm !== "confirm") return;
+ let params = {
+ PatientId: this.Patient.PatientId,
+ SubjectId: this.submitMessage.SubjectId,
+ };
+ this.loading = true;
+ let res = await deleteSubjectPatientBinding(params);
+ this.loading = false;
+ if (res.IsSuccess) {
+ this.getList();
+ this.$message.success(this.$t("common:message:removedSuccessfully"));
+ this.$emit("getList");
+ }
+ } catch (err) {
+ console.log(err);
+ }
+ },
// 获取受试者列表
async getTrialSubejctSelectList(id) {
let data = {