部分问题修复
parent
84a697e307
commit
0c42bb6161
|
@ -14,5 +14,5 @@ tests/**/coverage/
|
||||||
*.ntvs*
|
*.ntvs*
|
||||||
*.njsproj
|
*.njsproj
|
||||||
*.sln
|
*.sln
|
||||||
# .eslintignore
|
.eslintignore
|
||||||
# /.eslintignore
|
/.eslintignore
|
|
@ -242,7 +242,9 @@ export default {
|
||||||
watch: {
|
watch: {
|
||||||
list() {
|
list() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.criterionQSList.doLayout()
|
if(this.$refs.criterionQSList){
|
||||||
|
this.$refs.criterionQSList.doLayout()
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -295,7 +295,9 @@ export default {
|
||||||
watch: {
|
watch: {
|
||||||
list() {
|
list() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.criterionQSList.doLayout()
|
if(this.$refs.criterionQSList){
|
||||||
|
this.$refs.criterionQSList.doLayout()
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -83,7 +83,8 @@
|
||||||
<el-table-column type="index" min-width="90" />
|
<el-table-column type="index" min-width="90" />
|
||||||
<el-table-column
|
<el-table-column
|
||||||
:prop="item.ColumnKey"
|
:prop="item.ColumnKey"
|
||||||
v-for="item of headList"
|
v-for="(item,index) of headList"
|
||||||
|
:key="'DictionaryKey'+index"
|
||||||
:label="item.ColumnName"
|
:label="item.ColumnName"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
sortable="custom"
|
sortable="custom"
|
||||||
|
@ -186,7 +187,9 @@ export default {
|
||||||
watch: {
|
watch: {
|
||||||
list() {
|
list() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.organList.doLayout()
|
if(this.$refs.organList){
|
||||||
|
this.$refs.organList.doLayout()
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -357,7 +357,9 @@ export default {
|
||||||
watch: {
|
watch: {
|
||||||
list() {
|
list() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.organList.doLayout()
|
if(this.$refs.organList){
|
||||||
|
this.$refs.organList.doLayout()
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -259,10 +259,14 @@ export default {
|
||||||
this.listQuery.PageIndex = 1
|
this.listQuery.PageIndex = 1
|
||||||
this.listQuery.Asc = true
|
this.listQuery.Asc = true
|
||||||
this.listQuery.SortField = ''
|
this.listQuery.SortField = ''
|
||||||
this.$refs.revenusList.doLayout()
|
if(this.$refs.revenusList){
|
||||||
|
this.$refs.revenusList.doLayout()
|
||||||
|
}
|
||||||
this.arrID = []
|
this.arrID = []
|
||||||
this.getList()
|
this.getList()
|
||||||
this.$refs.revenusList.doLayout()
|
if(this.$refs.revenusList){
|
||||||
|
this.$refs.revenusList.doLayout()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
handleVerify() {
|
handleVerify() {
|
||||||
this.dialogLoading = true
|
this.dialogLoading = true
|
||||||
|
|
|
@ -252,7 +252,9 @@ export default {
|
||||||
// 合计行
|
// 合计行
|
||||||
getSummaries(param) {
|
getSummaries(param) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.enrollmentStats.doLayout()
|
if(this.$refs.enrollmentStats){
|
||||||
|
this.$refs.enrollmentStats.doLayout()
|
||||||
|
}
|
||||||
})
|
})
|
||||||
const { columns, data } = param
|
const { columns, data } = param
|
||||||
const sums = []
|
const sums = []
|
||||||
|
|
|
@ -248,7 +248,9 @@ export default {
|
||||||
// 合计行
|
// 合计行
|
||||||
getSummaries(param) {
|
getSummaries(param) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.trialStats.doLayout()
|
if(this.$refs.trialStats){
|
||||||
|
this.$refs.trialStats.doLayout()
|
||||||
|
}
|
||||||
})
|
})
|
||||||
const { columns, data } = param
|
const { columns, data } = param
|
||||||
const sums = []
|
const sums = []
|
||||||
|
|
|
@ -254,7 +254,9 @@ export default {
|
||||||
// 统计
|
// 统计
|
||||||
getSummaries(param) {
|
getSummaries(param) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.workloadStats.doLayout()
|
if(this.$refs.workloadStats){
|
||||||
|
this.$refs.workloadStats.doLayout()
|
||||||
|
}
|
||||||
})
|
})
|
||||||
const { columns, data } = param
|
const { columns, data } = param
|
||||||
const sums = []
|
const sums = []
|
||||||
|
|
|
@ -319,6 +319,7 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
this.loading = false;
|
||||||
console.log(err);
|
console.log(err);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -90,7 +90,8 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
v-for="ite of TrialReadingCriterionList"
|
v-for="(ite,ind) of TrialReadingCriterionList"
|
||||||
|
:key="'TrialReadingCriterionName'+ind"
|
||||||
:label="ite.TrialReadingCriterionName"
|
:label="ite.TrialReadingCriterionName"
|
||||||
width="360"
|
width="360"
|
||||||
header-align="center"
|
header-align="center"
|
||||||
|
@ -102,7 +103,7 @@
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-for="item of scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}) ? scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).ReadingCategorys : []">
|
<span :key="item" v-for="item of scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}) ? scope.row.CriterionCategoryList.find(v => {return v.TrialReadingCriterionId === ite.TrialReadingCriterionId}).ReadingCategorys : []">
|
||||||
<el-tag v-if="item === 1" type="primary">{{ $fd('ReadingCategory', item) + ' & ' + $fd('ReadingCategory', 2) }}</el-tag>
|
<el-tag v-if="item === 1" type="primary">{{ $fd('ReadingCategory', item) + ' & ' + $fd('ReadingCategory', 2) }}</el-tag>
|
||||||
<!-- <el-tag v-if="item === 2" type="info">{{ $fd('ReadingCategory', item) }}</el-tag>-->
|
<!-- <el-tag v-if="item === 2" type="info">{{ $fd('ReadingCategory', item) }}</el-tag>-->
|
||||||
<el-tag v-if="item === 4" type="danger">{{ $fd('ReadingCategory', item) }}</el-tag>
|
<el-tag v-if="item === 4" type="danger">{{ $fd('ReadingCategory', item) }}</el-tag>
|
||||||
|
@ -244,10 +245,12 @@
|
||||||
default-first-option
|
default-first-option
|
||||||
style="width: 70%"
|
style="width: 70%"
|
||||||
>
|
>
|
||||||
<el-option v-for="item of $d.ReadingCategory" v-if="item.value === 1" :key="item.id" :value="1" :label="$fd('ReadingCategory', 1) + ' & ' + $fd('ReadingCategory', 2)" />
|
<template v-for="item of $d.ReadingCategory">
|
||||||
<el-option v-for="item of $d.ReadingCategory" v-if="item.value === 4 && IsArbitrationReading" :key="item.id" :value="item.value" :label="$fd('ReadingCategory', 4)" />
|
<el-option v-if="item.value === 1" :key="item.id" :value="1" :label="$fd('ReadingCategory', 1) + ' & ' + $fd('ReadingCategory', 2)" />
|
||||||
<el-option v-for="item of $d.ReadingCategory" v-if="item.value === 5 && IsOncologyReading" :key="item.id" :value="item.value" :label="$fd('ReadingCategory', 5)" />
|
<el-option v-if="item.value === 4 && IsArbitrationReading" :key="item.id" :value="item.value" :label="$fd('ReadingCategory', 4)" />
|
||||||
</el-select>
|
<el-option v-if="item.value === 5 && IsOncologyReading" :key="item.id" :value="item.value" :label="$fd('ReadingCategory', 5)" />
|
||||||
|
</template>
|
||||||
|
</el-select>
|
||||||
</template>
|
</template>
|
||||||
<template slot="dialog-footer">
|
<template slot="dialog-footer">
|
||||||
<el-button
|
<el-button
|
||||||
|
|
|
@ -234,6 +234,7 @@
|
||||||
<el-button
|
<el-button
|
||||||
type="text"
|
type="text"
|
||||||
v-hasPermi="['trials:trials-panel:hirVisit:submit']"
|
v-hasPermi="['trials:trials-panel:hirVisit:submit']"
|
||||||
|
v-if="scope.row.SubmitState == 1"
|
||||||
@click.stop="submit(scope.row)"
|
@click.stop="submit(scope.row)"
|
||||||
>{{ $t("common:button:submit") }}</el-button
|
>{{ $t("common:button:submit") }}</el-button
|
||||||
>
|
>
|
||||||
|
@ -242,7 +243,7 @@
|
||||||
type="text"
|
type="text"
|
||||||
v-hasPermi="['trials:trials-panel:hirVisit:remove']"
|
v-hasPermi="['trials:trials-panel:hirVisit:remove']"
|
||||||
@click.stop="remove(scope.row)"
|
@click.stop="remove(scope.row)"
|
||||||
disabled
|
:disabled="scope.row.SubmitState > 0"
|
||||||
>{{ $t("common:button:delete") }}</el-button
|
>{{ $t("common:button:delete") }}</el-button
|
||||||
>
|
>
|
||||||
<!--评估结果-->
|
<!--评估结果-->
|
||||||
|
@ -258,6 +259,7 @@
|
||||||
type="text"
|
type="text"
|
||||||
v-hasPermi="['trials:trials-panel:hirVisit:download']"
|
v-hasPermi="['trials:trials-panel:hirVisit:download']"
|
||||||
@click.stop="downloadImage(scope.row)"
|
@click.stop="downloadImage(scope.row)"
|
||||||
|
v-if="scope.row.SubmitState > 0"
|
||||||
>{{ $t("trials:reading:button:uploadImages") }}</el-button
|
>{{ $t("trials:reading:button:uploadImages") }}</el-button
|
||||||
>
|
>
|
||||||
<!--下载医疗报告-->
|
<!--下载医疗报告-->
|
||||||
|
@ -301,6 +303,7 @@ import BaseContainer from "@/components/BaseContainer";
|
||||||
import Pagination from "@/components/Pagination";
|
import Pagination from "@/components/Pagination";
|
||||||
import editStudyList from "./components/edit-study-list.vue";
|
import editStudyList from "./components/edit-study-list.vue";
|
||||||
import visitInfo from "./components/visit-info.vue";
|
import visitInfo from "./components/visit-info.vue";
|
||||||
|
import { deleteSubjectVisit } from "@/api/trials";
|
||||||
import {
|
import {
|
||||||
getPatientSubejctVisitList,
|
getPatientSubejctVisitList,
|
||||||
getSubjectImageZipInfo,
|
getSubjectImageZipInfo,
|
||||||
|
@ -423,7 +426,30 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 删除
|
// 删除
|
||||||
remove() {},
|
async remove(row) {
|
||||||
|
try {
|
||||||
|
let confirm = await this.$confirm(
|
||||||
|
this.$t("trials:crcUpload:message:deleteVisit"),
|
||||||
|
{
|
||||||
|
type: "warning",
|
||||||
|
distinguishCancelAndClose: true,
|
||||||
|
}
|
||||||
|
);
|
||||||
|
if (confirm !== "confirm") return;
|
||||||
|
let res = await deleteSubjectVisit(
|
||||||
|
this.$route.query.trialId,
|
||||||
|
row.SubjectVisitId
|
||||||
|
);
|
||||||
|
if (res.IsSuccess) {
|
||||||
|
this.getList();
|
||||||
|
this.$message.success(
|
||||||
|
this.$t("trials:crcUpload:message:deleteVisitSuccessfully")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
} catch (err) {
|
||||||
|
console.log(err);
|
||||||
|
}
|
||||||
|
},
|
||||||
// 评估结果
|
// 评估结果
|
||||||
result() {},
|
result() {},
|
||||||
// 下载报告
|
// 下载报告
|
||||||
|
|
|
@ -455,7 +455,9 @@ export default {
|
||||||
},
|
},
|
||||||
beforeUpdate() {
|
beforeUpdate() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.myTable.doLayout();
|
if(this.$refs.myTable){
|
||||||
|
this.$refs.myTable.doLayout();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
@ -478,7 +480,9 @@ export default {
|
||||||
this.list = res.Result.CurrentPageData;
|
this.list = res.Result.CurrentPageData;
|
||||||
}, 100);
|
}, 100);
|
||||||
this.total = res.Result.TotalCount;
|
this.total = res.Result.TotalCount;
|
||||||
this.$refs.myTable.doLayout();
|
if(this.$refs.myTable){
|
||||||
|
this.$refs.myTable.doLayout();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
|
|
|
@ -537,7 +537,9 @@ export default {
|
||||||
},
|
},
|
||||||
list() {
|
list() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.mimMedicalAudit[0].doLayout()
|
if(this.$refs.mimMedicalAudit){
|
||||||
|
this.$refs.mimMedicalAudit[0].doLayout()
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -46,24 +46,6 @@
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- 是否加急 -->
|
|
||||||
<el-form-item
|
|
||||||
style="margin-bottom: 10px"
|
|
||||||
:label="$t('trials:reviewTrack:table:isUrgent')"
|
|
||||||
>
|
|
||||||
<el-select
|
|
||||||
v-model="searchData.IsUrgent"
|
|
||||||
clearable
|
|
||||||
style="width: 120px"
|
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="item of $d.YesOrNo"
|
|
||||||
:key="'IsUrgent' + item.label"
|
|
||||||
:value="item.value"
|
|
||||||
:label="item.label"
|
|
||||||
/>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<!-- 任务状态 -->
|
<!-- 任务状态 -->
|
||||||
<el-form-item
|
<el-form-item
|
||||||
style="margin-bottom: 10px"
|
style="margin-bottom: 10px"
|
||||||
|
@ -736,7 +718,9 @@ export default {
|
||||||
}, 100);
|
}, 100);
|
||||||
this.total = res.Result.TotalCount;
|
this.total = res.Result.TotalCount;
|
||||||
this.otherInfo = res.OtherInfo;
|
this.otherInfo = res.OtherInfo;
|
||||||
this.$refs.myTable.doLayout();
|
if(this.$refs.myTable){
|
||||||
|
this.$refs.myTable.doLayout();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
|
|
|
@ -321,7 +321,9 @@ export default {
|
||||||
this.list = res.Result.CurrentPageData
|
this.list = res.Result.CurrentPageData
|
||||||
}, 100)
|
}, 100)
|
||||||
this.total = res.Result.TotalCount
|
this.total = res.Result.TotalCount
|
||||||
this.$refs.myTable.doLayout()
|
if(this.$refs.myTable){
|
||||||
|
this.$refs.myTable.doLayout()
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}).catch(() => { this.loading = false })
|
}).catch(() => { this.loading = false })
|
||||||
},
|
},
|
||||||
|
|
|
@ -325,7 +325,7 @@ export default {
|
||||||
watch: {
|
watch: {
|
||||||
list() {
|
list() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.emailList.doLayout()
|
this.$refs.emailList&& this.$refs.emailList.doLayout()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -107,7 +107,7 @@ export default {
|
||||||
watch: {
|
watch: {
|
||||||
list() {
|
list() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.organList.doLayout()
|
this.$refs.organList && this.$refs.organList.doLayout()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -278,7 +278,7 @@ export default {
|
||||||
watch: {
|
watch: {
|
||||||
list() {
|
list() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.organList.doLayout()
|
this.$refs.organList&&this.$refs.organList.doLayout()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -247,7 +247,7 @@ export default {
|
||||||
watch: {
|
watch: {
|
||||||
list() {
|
list() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.criterionQSList.doLayout()
|
this.$refs.criterionQSList&&this.$refs.criterionQSList.doLayout()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -125,7 +125,7 @@ export default {
|
||||||
watch: {
|
watch: {
|
||||||
list() {
|
list() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.emailList.doLayout()
|
this.$refs.emailList&&this.$refs.emailList.doLayout()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
v-for="item of $d.sex"
|
v-for="item of $d.sex"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
:label="item.label"
|
:label="item.label"
|
||||||
:value="item.value"
|
:value="String(item.value)"
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -153,7 +153,7 @@ export default {
|
||||||
Object.keys(this.form).forEach((key) => {
|
Object.keys(this.form).forEach((key) => {
|
||||||
data[key] = this.form[key];
|
data[key] = this.form[key];
|
||||||
});
|
});
|
||||||
data.BirthDate = data.BirthDate.toISOString();
|
data.BirthDate = data.BirthDate ? data.BirthDate.toISOString() : null;
|
||||||
delete data.PatientId;
|
delete data.PatientId;
|
||||||
delete data.PatientList;
|
delete data.PatientList;
|
||||||
addOrUpdateSubjectHir(data)
|
addOrUpdateSubjectHir(data)
|
||||||
|
|
|
@ -216,6 +216,9 @@ export default {
|
||||||
this.$message.success(this.$t("common:message:addedSuccessfully"));
|
this.$message.success(this.$t("common:message:addedSuccessfully"));
|
||||||
this.$emit("getList");
|
this.$emit("getList");
|
||||||
this.status = "visit";
|
this.status = "visit";
|
||||||
|
if(data.SubjectCode){
|
||||||
|
this.getTrialSubejctSelectList(this.$route.query.trialId);
|
||||||
|
}
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.confirmVisit.getList();
|
this.$refs.confirmVisit.getList();
|
||||||
this.$refs.confirmVisit.getSubjectVisitSelectList();
|
this.$refs.confirmVisit.getSubjectVisitSelectList();
|
||||||
|
|
|
@ -333,7 +333,7 @@ export default {
|
||||||
watch: {
|
watch: {
|
||||||
list() {
|
list() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.subjectList.doLayout();
|
this.$refs.subjectList&&this.$refs.subjectList.doLayout();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -1108,7 +1108,7 @@ export default {
|
||||||
watch: {
|
watch: {
|
||||||
list() {
|
list() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.visitList.doLayout()
|
this.$refs.visitList&&this.$refs.visitList.doLayout()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
TrialReadingCriterionId(v, old) {
|
TrialReadingCriterionId(v, old) {
|
||||||
|
|
|
@ -697,7 +697,7 @@ export default {
|
||||||
doLayout() {
|
doLayout() {
|
||||||
const scope = this
|
const scope = this
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
scope.$refs.qcCheckList.doLayout()
|
scope.$refs.qcCheckList&&scope.$refs.qcCheckList.doLayout()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 领取任务
|
// 领取任务
|
||||||
|
|
Loading…
Reference in New Issue