Merge branch 'uat' into uat_us

uat_us
DESKTOP-6C3NK6N\WXS 2024-08-02 14:09:18 +08:00
commit ddc175961c
5 changed files with 44 additions and 5 deletions

View File

@ -262,7 +262,7 @@ export default {
this.setLanguage("en"); this.setLanguage("en");
this.$updateDictionary(); this.$updateDictionary();
} else { } else {
if (this.location === "USA") { if (this.location === "USA" || this.NODE_ENV === "usa") {
this.$i18n.locale = "en"; this.$i18n.locale = "en";
this.setLanguage("en"); this.setLanguage("en");
this.$updateDictionary(); this.$updateDictionary();

View File

@ -882,7 +882,7 @@ export default {
modality: this.studyForm.Modality, modality: this.studyForm.Modality,
bodyPart: this.studyForm.BodyPart, bodyPart: this.studyForm.BodyPart,
}; };
updateModality(this.data.TrialId, params) updateModality(this.trialId, params)
.then((res) => { .then((res) => {
this.btnLoading = false; this.btnLoading = false;
if (res.IsSuccess) { if (res.IsSuccess) {

View File

@ -308,6 +308,13 @@
<el-tag v-else-if="scope.row.AuditState*1 === 8" type="primary">{{ $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>
</template> </template>
</el-table-column> </el-table-column>
<!-- 审核完成时间 -->
<el-table-column
prop="AuditTime"
:label="$t('trials:crcUpload:table:auditTime')"
show-overflow-tooltip
width="170"
/>
<el-table-column <el-table-column
v-if="hasPermi(['trials:trials-panel:visit:crc-upload:upload', 'trials:trials-panel:visit:crc-upload:submit','trials:trials-panel:visit:crc-upload:edit','trials:trials-panel:visit:crc-upload:delete'], '||')" v-if="hasPermi(['trials:trials-panel:visit:crc-upload:upload', 'trials:trials-panel:visit:crc-upload:submit','trials:trials-panel:visit:crc-upload:edit','trials:trials-panel:visit:crc-upload:delete'], '||')"
:label="$t('common:action:action')" :label="$t('common:action:action')"

View File

@ -1998,7 +1998,9 @@ export default {
this.$emit("getList"); this.$emit("getList");
this.$emit("nextTask", res.Result.VisitId); this.$emit("nextTask", res.Result.VisitId);
}); });
}); }).catch(()=>{
this.$emit("getList")
})
} else { } else {
// //
this.$emit("getList"); this.$emit("getList");

View File

@ -80,7 +80,17 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<!-- 审核通过时间 -->
<el-form-item :label="$t('trials:qcCheck:table:auditTime')">
<el-date-picker
v-model="timeList"
value-format="yyyy-MM-dd HH:mm:ss"
format="yyyy-MM-dd"
type="datetimerange"
:default-time="['00:00:00', '23:59:59']"
@change="changeTimeList"
/>
</el-form-item>
<el-form-item> <el-form-item>
<!-- 查询 --> <!-- 查询 -->
<el-button type="primary" icon="el-icon-search" @click="handleSearch"> <el-button type="primary" icon="el-icon-search" @click="handleSearch">
@ -309,6 +319,13 @@
<el-tag v-else-if="scope.row.AuditState*1 === 8" type="primary"> {{ $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>
</template> </template>
</el-table-column> </el-table-column>
<!-- 审核完成时间 -->
<el-table-column
prop="AuditTime"
:label="$t('trials:qcCheck:table:auditTime')"
show-overflow-tooltip
width="170"
/>
<!-- 历史审核人 --> <!-- 历史审核人 -->
<el-table-column <el-table-column
v-show="OtherInfo.QCProcessEnum !== 0" v-show="OtherInfo.QCProcessEnum !== 0"
@ -652,6 +669,8 @@ const searchDataDefault = () => {
IsUrgent: null, IsUrgent: null,
AuditStateArray: [], AuditStateArray: [],
HandleUserId: '', HandleUserId: '',
BeginAuditTime: null,
EndAuditTime: null,
PageIndex: 1, PageIndex: 1,
PageSize: 20 PageSize: 20
// SortField: '', // SortField: '',
@ -683,7 +702,8 @@ export default {
trialCode: this.$route.query.trialCode, trialCode: this.$route.query.trialCode,
query: null, query: null,
manualsDialog: { visible: false }, manualsDialog: { visible: false },
isFullscreen: false isFullscreen: false,
timeList: []
} }
}, },
watch: { watch: {
@ -822,6 +842,7 @@ export default {
// //
handleReset() { handleReset() {
this.searchData = searchDataDefault() this.searchData = searchDataDefault()
this.timeList = []
this.getList() this.getList()
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.qcCheckList.clearSort() this.$refs.qcCheckList.clearSort()
@ -949,6 +970,15 @@ export default {
this.qcVisible = false this.qcVisible = false
}) })
}, },
changeTimeList() {
if (this.timeList) {
this.searchData.BeginAuditTime = this.timeList[0]
this.searchData.EndAuditTime = this.timeList[1]
} else {
this.searchData.BeginAuditTime = null
this.searchData.EndAuditTime = null
}
},
openManuals() { openManuals() {
this.manualsDialog.visible = true this.manualsDialog.visible = true
} }