影像质控拍片日期修改
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2024-11-18 10:46:49 +08:00
parent 629816217c
commit 6cb544117c
1 changed files with 230 additions and 215 deletions

View File

@ -144,7 +144,7 @@
<el-form-item>
<!-- 查询 -->
<el-button type="primary" icon="el-icon-search" @click="handleSearch">
{{ $t("common:button:search") }}
{{ $t('common:button:search') }}
</el-button>
<!-- 重置 -->
<el-button
@ -152,7 +152,7 @@
icon="el-icon-refresh-left"
@click="handleReset"
>
{{ $t("common:button:reset") }}
{{ $t('common:button:reset') }}
</el-button>
<!-- 导出 -->
<el-button
@ -161,7 +161,7 @@
:loading="exportLoading"
@click="handleExport"
>
{{ $t("common:button:export") }}
{{ $t('common:button:export') }}
</el-button>
</el-form-item>
</el-form>
@ -229,7 +229,7 @@
:disabled="!(userTypeEnumInt === 1 || userTypeEnumInt === 3)"
@click="handleUrgentStatus(scope.row)"
>
{{ $fd("YesOrNo", scope.row.IsUrgent) }}
{{ $fd('YesOrNo', scope.row.IsUrgent) }}
</el-button>
<el-button
v-else-if="
@ -241,14 +241,14 @@
:disabled="!(userTypeEnumInt === 1 || userTypeEnumInt === 3)"
@click="handleUrgentStatus(scope.row)"
>
{{ $fd("YesOrNo", scope.row.IsUrgent) }}
{{ $fd('YesOrNo', scope.row.IsUrgent) }}
</el-button>
<span v-else>
<el-tag v-if="scope.row.IsUrgent" type="danger">
{{ $fd("YesOrNo", scope.row.IsUrgent) }}
{{ $fd('YesOrNo', scope.row.IsUrgent) }}
</el-tag>
<el-tag v-else type="primary">
{{ $fd("YesOrNo", scope.row.IsUrgent) }}
{{ $fd('YesOrNo', scope.row.IsUrgent) }}
</el-tag>
</span>
</template>
@ -290,22 +290,22 @@
</span>
<!-- PD -->
<span v-if="scope.row.PDState" class="status-primary-circle">
{{ $t("trials:crcUpload:label:pd") }}
{{ $t('trials:crcUpload:label:pd') }}
</span>
<!-- -->
<span v-if="scope.row.IsLostVisit" class="status-primary-circle">
{{ $t("trials:crcUpload:label:lostVisit") }}
{{ $t('trials:crcUpload:label:lostVisit') }}
</span>
<!-- -->
<span v-if="scope.row.IsFinalVisit" class="status-primary-circle">
{{ $t("trials:crcUpload:label:finalVisit") }}
{{ $t('trials:crcUpload:label:finalVisit') }}
</span>
<!-- -->
<span
v-if="scope.row.IsEnrollmentConfirm"
class="status-primary-circle"
>
{{ $t("trials:crcUpload:label:enrollmentConfirm") }}
{{ $t('trials:crcUpload:label:enrollmentConfirm') }}
</span>
</template>
</el-table-column>
@ -320,7 +320,7 @@
<el-tooltip placement="bottom">
<div slot="content">
<span
>{{ $t("trials:crcUpload:label:dicom") }}:
>{{ $t('trials:crcUpload:label:dicom') }}:
{{ scope.row.DicomStudyCount }},
</span>
<span
@ -330,16 +330,16 @@
"
>
<span
>{{ $t("trials:crcUpload:label:noneDicom") }}:
>{{ $t('trials:crcUpload:label:noneDicom') }}:
{{ scope.row.NoneDicomStudyCount }},
</span>
<span
>{{ $t("trials:crcUpload:label:clinicalData") }}:
{{ scope.row.IsHaveClinicalData ? "w/" : "w/o" }}</span
>{{ $t('trials:crcUpload:label:clinicalData') }}:
{{ scope.row.IsHaveClinicalData ? 'w/' : 'w/o' }}</span
>
</span>
<span v-else
>{{ $t("trials:crcUpload:label:noneDicom") }}:
>{{ $t('trials:crcUpload:label:noneDicom') }}:
{{ scope.row.NoneDicomStudyCount }}</span
>
</div>
@ -350,19 +350,19 @@
? [
scope.row.DicomStudyCount,
scope.row.NoneDicomStudyCount,
scope.row.IsHaveClinicalData ? "w/" : "w/o",
].join(", ")
scope.row.IsHaveClinicalData ? 'w/' : 'w/o',
].join(', ')
: [
scope.row.DicomStudyCount,
scope.row.NoneDicomStudyCount,
].join(", ")
].join(', ')
}}
</span>
</el-tooltip>
</template>
</el-table-column>
<!-- 最早拍片日期 -->
<el-table-column
<!-- <el-table-column
prop="EarliestScanDate"
:label="$t('trials:qcCheck:table:eScanDate')"
show-overflow-tooltip
@ -376,7 +376,7 @@
: ""
}}
</template>
</el-table-column>
</el-table-column> -->
<!-- 最晚拍片日期 -->
<el-table-column
prop="LatestScanDate"
@ -386,11 +386,28 @@
sortable="custom"
>
<template slot-scope="scope">
{{
scope.row.LatestScanDate
? moment(scope.row.LatestScanDate).format("YYYY-MM-DD")
: ""
}}
<el-tooltip
class="item"
effect="dark"
:content="`${
scope.row.EarliestScanDate
? moment(scope.row.EarliestScanDate).format('YYYY-MM-DD')
: ''
} ~ ${
scope.row.LatestScanDate
? moment(scope.row.LatestScanDate).format('YYYY-MM-DD')
: ''
}`"
placement="top"
>
<span>
{{
scope.row.LatestScanDate
? moment(scope.row.LatestScanDate).format('YYYY-MM-DD')
: ''
}}
</span>
</el-tooltip>
</template>
</el-table-column>
<!-- 提交时间 -->
@ -420,7 +437,7 @@
<template slot-scope="scope">
<span v-if="scope.row.AuditState * 1 === 0">--</span>
<el-tag v-else-if="scope.row.AuditState * 1 === 3" type="warning">{{
$fd("AuditStatePE", scope.row.AuditState * 1)
$fd('AuditStatePE', scope.row.AuditState * 1)
}}</el-tag>
<el-tag
v-else-if="
@ -428,7 +445,7 @@
"
type="warning"
>
{{ $fd("AuditStatePE", scope.row.AuditState * 1) }}
{{ $fd('AuditStatePE', scope.row.AuditState * 1) }}
</el-tag>
<el-tag
v-else-if="
@ -436,7 +453,7 @@
"
type="warning"
>
{{ $fd("AuditStateRC", scope.row.AuditState * 1) }}
{{ $fd('AuditStateRC', scope.row.AuditState * 1) }}
</el-tag>
<el-tag
v-else-if="
@ -444,7 +461,7 @@
"
type="warning"
>
{{ $fd("AuditStateRC", scope.row.AuditState * 1) }}
{{ $fd('AuditStateRC', scope.row.AuditState * 1) }}
</el-tag>
<el-tag
v-else-if="
@ -452,13 +469,13 @@
"
type="warning"
>
{{ $fd("AuditStateRC", scope.row.AuditState * 1) }}
{{ $fd('AuditStateRC', scope.row.AuditState * 1) }}
</el-tag>
<el-tag v-else-if="scope.row.AuditState * 1 === 7" type="danger">
{{ $fd("AuditStateRC", scope.row.AuditState * 1) }}</el-tag
{{ $fd('AuditStateRC', scope.row.AuditState * 1) }}</el-tag
>
<el-tag v-else-if="scope.row.AuditState * 1 === 8" type="primary">
{{ $fd("AuditStateRC", scope.row.AuditState * 1) }}</el-tag
{{ $fd('AuditStateRC', scope.row.AuditState * 1) }}</el-tag
>
</template>
</el-table-column>
@ -503,7 +520,7 @@
"
class="status-primary-circle"
>
{{ $t("trials:qcCheck:label:preliminary") }}
{{ $t('trials:qcCheck:label:preliminary') }}
</span>
<span v-if="scope.row.ReviewAuditUserName"> , </span>
<!-- <span>{{ scope.row.ReviewAuditUserName }}</span> -->
@ -520,7 +537,7 @@
"
class="status-primary-circle"
>
{{ $t("trials:qcCheck:label:review") }}
{{ $t('trials:qcCheck:label:review') }}
</span>
</template>
</el-table-column>
@ -662,33 +679,33 @@
</template>
<div class="remark">
<span class="status-primary-circle">
{{ $t("trials:crcUpload:label:finalVisit") }}
{{ $t('trials:crcUpload:label:finalVisit') }}
</span>
<span>: {{ $t("trials:crcUpload:label:finalVisitDetail") }}</span>
<span>: {{ $t('trials:crcUpload:label:finalVisitDetail') }}</span>
<span class="status-primary-circle" style="margin-left: 10px">
{{ $t("trials:crcUpload:label:lostVisit") }}
{{ $t('trials:crcUpload:label:lostVisit') }}
</span>
<span>: {{ $t("trials:crcUpload:label:lostVisitDetail") }}</span>
<span>: {{ $t('trials:crcUpload:label:lostVisitDetail') }}</span>
<span class="status-primary-circle" style="margin-left: 10px">
{{ $t("trials:crcUpload:label:pd") }}
{{ $t('trials:crcUpload:label:pd') }}
</span>
<span>: {{ $t("trials:crcUpload:label:pdDetail") }}</span>
<span>: {{ $t('trials:crcUpload:label:pdDetail') }}</span>
<span class="status-primary-circle" style="margin-left: 10px">
{{ $t("trials:crcUpload:label:enrollmentConfirm") }}
{{ $t('trials:crcUpload:label:enrollmentConfirm') }}
</span>
<span>: {{ $t("trials:crcUpload:label:enrollmentConfirmDetail") }}</span>
<span>: {{ $t('trials:crcUpload:label:enrollmentConfirmDetail') }}</span>
<span
v-if="OtherInfo.QCProcessEnum === 2"
class="status-primary-circle"
style="margin-left: 10px"
>
{{ $t("trials:qcCheck:label:preliminary") }}
{{ $t('trials:qcCheck:label:preliminary') }}
</span>
<span v-if="OtherInfo.QCProcessEnum === 2"
>: {{ $t("trials:qcCheck:label:preliminaryAudit") }}</span
>: {{ $t('trials:qcCheck:label:preliminaryAudit') }}</span
>
<span
@ -696,10 +713,10 @@
class="status-primary-circle"
style="margin-left: 10px"
>
{{ $t("trials:qcCheck:label:review") }}
{{ $t('trials:qcCheck:label:review') }}
</span>
<span v-if="OtherInfo.QCProcessEnum === 2"
>: {{ $t("trials:qcCheck:label:reviewAudit") }}</span
>: {{ $t('trials:qcCheck:label:reviewAudit') }}</span
>
</div>
<!-- 指控 -->
@ -753,7 +770,7 @@
:fullscreen="isFullscreen"
>
<span slot="title" class="dialog-footer">
<span>{{ $t("trials:reading:button:handbooks") }}</span>
<span>{{ $t('trials:reading:button:handbooks') }}</span>
<span style="position: absolute; right: 20px">
<svg-icon
:icon-class="isFullscreen ? 'exit-fullscreen' : 'fullscreen'"
@ -843,7 +860,7 @@
</el-form>
<div>
<!-- DICOM影像 -->
<h4 class="box-title">{{ $t("trials:audit:tab:dicoms") }}</h4>
<h4 class="box-title">{{ $t('trials:audit:tab:dicoms') }}</h4>
<el-card class="box-card">
<DicomFiles v-if="rowData.Id" :data="rowData" />
</el-card>
@ -852,7 +869,7 @@
<div>
<!-- 非DICOM影像 -->
<h4 class="box-title" style="margin-top: 10px">
{{ $t("trials:audit:tab:nonDicoms") }}
{{ $t('trials:audit:tab:nonDicoms') }}
</h4>
<el-card class="box-card">
<UploadNonDicomFiles
@ -869,7 +886,7 @@
<div>
<!-- 临床数据 -->
<h4 class="box-title" style="margin-top: 10px">
{{ $t("trials:audit:tab:clinicalData") }}
{{ $t('trials:audit:tab:clinicalData') }}
</h4>
<el-card class="box-card">
<UploadClinicalData
@ -920,7 +937,7 @@
type="primary"
@click="urgentVisible = false"
>
{{ $t("common:button:cancel") }}
{{ $t('common:button:cancel') }}
</el-button>
<!-- 保存 -->
<el-button
@ -929,7 +946,7 @@
:loading="loading"
@click="setUrgentStatus"
>
{{ $t("common:button:save") }}
{{ $t('common:button:save') }}
</el-button>
</el-form-item>
</div>
@ -948,39 +965,39 @@ import {
setSubjectVisitUrgent,
isQCCanOpt,
getNextQCInfo,
} from "@/api/trials";
import { qCVisitList_Export } from "@/api/export";
import BaseContainer from "@/components/BaseContainer";
import QualityAssurance from "./components/qualityAssurance";
import Manuals from "./components/manuals";
import DicomFiles from "./components/dicomFiles";
import UploadNonDicomFiles from "@/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles";
import UploadClinicalData from "@/views/trials/trials-panel/visit/crc-upload/components/uploadClinicalData";
} from '@/api/trials'
import { qCVisitList_Export } from '@/api/export'
import BaseContainer from '@/components/BaseContainer'
import QualityAssurance from './components/qualityAssurance'
import Manuals from './components/manuals'
import DicomFiles from './components/dicomFiles'
import UploadNonDicomFiles from '@/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles'
import UploadClinicalData from '@/views/trials/trials-panel/visit/crc-upload/components/uploadClinicalData'
import Pagination from "@/components/Pagination";
import moment from "moment";
import { changeURLStatic } from "@/utils/history.js";
import { getToken } from "@/utils/auth";
import Pagination from '@/components/Pagination'
import moment from 'moment'
import { changeURLStatic } from '@/utils/history.js'
import { getToken } from '@/utils/auth'
const searchDataDefault = () => {
return {
TrialId: "",
TrialSiteId: "",
SubjectInfo: "",
TrialId: '',
TrialSiteId: '',
SubjectInfo: '',
VisitPlanArray: [],
IsUrgent: null,
AuditStateArray: [],
HandleUserId: "",
HandleUserId: '',
BeginAuditTime: null,
EndAuditTime: null,
PageIndex: 1,
PageSize: 20,
// SortField: '',
// Asc: false
};
};
}
}
export default {
name: "QcCheck",
name: 'QcCheck',
components: {
BaseContainer,
Pagination,
@ -998,13 +1015,13 @@ export default {
loading: false,
qcVisible: false,
rowData: {
TrialSiteCode: "",
SubjectCode: "",
VisitName: "",
VisitNum: "",
TrialSiteCode: '',
SubjectCode: '',
VisitName: '',
VisitNum: '',
},
userTypeEnumInt: zzSessionStorage.getItem("userTypeEnumInt") * 1,
userId: zzSessionStorage.getItem("userId"),
userTypeEnumInt: zzSessionStorage.getItem('userTypeEnumInt') * 1,
userId: zzSessionStorage.getItem('userId'),
moment,
siteOptions: [],
visitPlanOptions: [],
@ -1012,7 +1029,7 @@ export default {
participantOptions: [],
studyVisible: false,
urgentVisible: false,
urgentForm: { id: "", isUrgent: null },
urgentForm: { id: '', isUrgent: null },
trialId: this.$route.query.trialId,
trialCode: this.$route.query.trialCode,
query: null,
@ -1020,225 +1037,225 @@ export default {
isFullscreen: false,
timeList: [],
exportLoading: false,
};
}
},
watch: {
list(val) {
this.doLayout();
this.doLayout()
},
},
mounted() {
this.query = this.$route.query;
this.query = this.$route.query
if (this.$route.query.subjectCode) {
this.searchData.SubjectInfo = this.$route.query.subjectCode;
this.searchData.SubjectInfo = this.$route.query.subjectCode
}
changeURLStatic("subjectCode", "");
this.getList();
this.getSite();
this.getParticipantList();
this.getVisitPlanOptions();
changeURLStatic('subjectCode', '')
this.getList()
this.getSite()
this.getParticipantList()
this.getVisitPlanOptions()
},
methods: {
handleExport() {
this.exportLoading = true;
this.exportLoading = true
qCVisitList_Export(this.searchData)
.then(() => {
this.exportLoading = false;
this.exportLoading = false
})
.catch((err) => {
this.exportLoading = false;
});
this.exportLoading = false
})
},
// qc
getList() {
this.loading = true;
this.searchData.TrialId = this.trialId;
this.loading = true
this.searchData.TrialId = this.trialId
getQCVisitList(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
})
},
doLayout() {
const scope = this;
const scope = this
this.$nextTick(() => {
scope.$refs.qcCheckList.doLayout();
});
scope.$refs.qcCheckList.doLayout()
})
},
//
handleReciveTask(row, state) {
let message = "";
let message = ''
if (state) {
//
message = this.$t("trials:qcCheck:message:receive");
message = this.$t('trials:qcCheck:message:receive')
} else {
//
message = this.$t("trials:qcCheck:message:release");
message = this.$t('trials:qcCheck:message:release')
}
this.$confirm(message, {
type: "warning",
type: 'warning',
distinguishCancelAndClose: true,
})
.then(() => {
this.loading = true;
this.loading = true
takeOrReleaseQCTask(row.TrialId, row.Id, state)
.then((res) => {
this.loading = false;
this.loading = false
if (res.IsSuccess) {
this.getList();
this.getList()
if (state) {
//
this.$message.success(
this.$t("trials:qcCheck:message:receivedSuccessfully")
);
this.$t('trials:qcCheck:message:receivedSuccessfully')
)
} else {
//
this.$message.success(
this.$t("trials:qcCheck:message:releasedSuccessfully")
);
this.$t('trials:qcCheck:message:releasedSuccessfully')
)
}
}
})
.catch((res) => {
this.loading = false;
this.loading = false
if (res.Code === 5 && res.ErrorMessage) {
this.$confirm(res.ErrorMessage, {
type: "warning",
type: 'warning',
showCancelButton: false,
callback: (action) => {},
});
this.getList();
})
this.getList()
}
});
})
})
.catch(() => {});
.catch(() => {})
},
//
handlePrimaryQC(row) {
this.loading = true;
this.loading = true
isQCCanOpt(row.Id)
.then((res) => {
this.loading = false;
this.loading = false
if (res.IsSuccess) {
this.rowData = { ...row };
this.qcVisible = true;
this.rowData = { ...row }
this.qcVisible = true
}
})
.catch((res) => {
this.loading = false;
this.loading = false
if (res.Code === 2) {
this.getList();
this.getList()
}
});
})
},
//
handleSecondaryQC(row) {
this.loading = true;
this.loading = true
isQCCanOpt(row.Id)
.then((res) => {
this.loading = false;
this.loading = false
if (res.IsSuccess) {
this.rowData = { ...row };
this.qcVisible = true;
this.rowData = { ...row }
this.qcVisible = true
}
})
.catch((res) => {
this.loading = false;
this.loading = false
if (res.Code === 2) {
this.getList();
this.getList()
}
});
})
},
handleViewPrimaryQC(row) {
this.rowData = { ...row };
this.rowData.disabled = true;
this.rowData.qcType = 1;
this.qcVisible = true;
this.rowData = { ...row }
this.rowData.disabled = true
this.rowData.qcType = 1
this.qcVisible = true
},
handleViewReviewQC(row) {
this.rowData = { ...row };
this.rowData.disabled = true;
this.rowData.qcType = 2;
this.qcVisible = true;
this.rowData = { ...row }
this.rowData.disabled = true
this.rowData.qcType = 2
this.qcVisible = true
},
//
handleViewImages() {
var tokenKey = getToken();
var tokenKey = getToken()
const routeData = this.$router.resolve({
path: `/showvisitdicoms?trialId=${this.rowData.TrialId}&visitInfo=${this.rowData.VisitName}(${this.rowData.VisitNum})&subjectVisitId=${this.rowData.Id}&TokenKey=${tokenKey}`,
});
window.open(routeData.href, "_blank");
})
window.open(routeData.href, '_blank')
},
//
handleViewStudyInfo(row) {
this.studyVisible = true;
this.rowData = { ...row };
this.studyVisible = true
this.rowData = { ...row }
},
//
handleReset() {
this.searchData = searchDataDefault();
this.timeList = [];
this.getList();
this.searchData = searchDataDefault()
this.timeList = []
this.getList()
this.$nextTick(() => {
this.$refs.qcCheckList.clearSort();
});
this.$refs.qcCheckList.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()
},
// 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
})
},
//
getParticipantList() {
getQCParticipantList(this.trialId).then((res) => {
this.participantOptions = res.Result;
});
this.participantOptions = res.Result
})
},
//
handleUrgentStatus(row) {
this.urgentForm = Object.assign({}, { ...row });
this.urgentVisible = true;
this.urgentForm = Object.assign({}, { ...row })
this.urgentVisible = true
},
// 访/
setUrgentStatus() {
// 访
// 访
var message = this.urgentForm.IsUrgent
? this.$t("trials:qcCheck:message:isUrgent")
: this.$t("trials:qcCheck:message:isNotUrgent");
? this.$t('trials:qcCheck:message:isUrgent')
: this.$t('trials:qcCheck:message:isNotUrgent')
this.$confirm(message, {
type: "warning",
type: 'warning',
distinguishCancelAndClose: true,
}).then(() => {
this.loading = true;
this.loading = true
setSubjectVisitUrgent(
this.urgentForm.TrialId,
@ -1246,102 +1263,100 @@ export default {
this.urgentForm.IsUrgent
)
.then((res) => {
this.loading = false;
this.loading = false
if (res.IsSuccess) {
this.urgentVisible = false;
this.getList();
this.$message.success(
this.$t("common:message:savedSuccessfully")
);
this.urgentVisible = false
this.getList()
this.$message.success(this.$t('common:message:savedSuccessfully'))
}
})
.catch(() => {
this.loading = false;
});
});
this.loading = false
})
})
},
handleChallengeState(subjectCode, state) {
this.$router.push({
path: `/trials/trials-panel/visit/qc-question?trialId=${this.trialId}&trialCode=${this.query.trialCode}&researchProgramNo=${this.query.researchProgramNo}&subjectCode=${subjectCode}&challengeState=${state}`,
});
})
},
//
handleReplaceTask(row) {
var message = this.$t("trials:crcQuestion:message:replaceTask");
message = message.replace("xxx", row.CurrentActionUserName);
var message = this.$t('trials:crcQuestion:message:replaceTask')
message = message.replace('xxx', row.CurrentActionUserName)
this.$confirm(message, {
type: "warning",
type: 'warning',
distinguishCancelAndClose: true,
})
.then(() => {
//
this.loading = true;
this.loading = true
replaceQCTaskActionUser(row.TrialId, row.Id)
.then((res) => {
this.loading = false;
this.loading = false
if (res.IsSuccess) {
//
this.$message.success(
this.$t("trials:crcQuestion:message:replaceTaskSuccessfully")
);
this.getList();
this.$t('trials:crcQuestion:message:replaceTaskSuccessfully')
)
this.getList()
}
})
.catch((res) => {
this.loading = false;
this.getList();
this.loading = false
this.getList()
if (res.ErrorMessage) {
this.$confirm(res.ErrorMessage, {
type: "warning",
type: 'warning',
showCancelButton: false,
callback: (action) => {},
});
})
}
});
})
})
.catch(() => {});
.catch(() => {})
},
nextTask(visitId = null) {
this.loading = true;
this.loading = true
let obj = {
trialId: this.trialId,
};
}
if (visitId) {
obj.visitId = visitId;
obj.visitId = visitId
}
getNextQCInfo(obj)
.then((res) => {
this.loading = false;
this.qcVisible = false;
this.loading = false
this.qcVisible = false
if (res.Result) {
this.$nextTick(() => {
this.rowData = { ...res.Result };
this.qcVisible = true;
});
this.rowData = { ...res.Result }
this.qcVisible = true
})
} else {
this.$message.success(this.$t("trials:qcQuality:title:title3")); // ''
this.qcVisible = false;
this.$message.success(this.$t('trials:qcQuality:title:title3')) // ''
this.qcVisible = false
}
})
.catch(() => {
this.loading = false;
this.qcVisible = false;
});
this.loading = false
this.qcVisible = false
})
},
changeTimeList() {
if (this.timeList) {
this.searchData.BeginAuditTime = this.timeList[0];
this.searchData.EndAuditTime = this.timeList[1];
this.searchData.BeginAuditTime = this.timeList[0]
this.searchData.EndAuditTime = this.timeList[1]
} else {
this.searchData.BeginAuditTime = null;
this.searchData.EndAuditTime = null;
this.searchData.BeginAuditTime = null
this.searchData.EndAuditTime = null
}
},
openManuals() {
this.manualsDialog.visible = true;
this.manualsDialog.visible = true
},
},
};
}
</script>
<style lang="scss">
.qc-check-wrapper {