Compare commits

..

No commits in common. "6218b536f9413ad2ce466b37f8acb9ba241446e5" and "57bec076b7196347ef38f3673f51b297de7aa43b" have entirely different histories.

4 changed files with 4 additions and 30 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

View File

@ -70,7 +70,6 @@ import ppt from '@/assets/file_icon/ppt.png'
import pptx from '@/assets/file_icon/pptx.png' import pptx from '@/assets/file_icon/pptx.png'
import xls from '@/assets/file_icon/xls.png' import xls from '@/assets/file_icon/xls.png'
import xlsx from '@/assets/file_icon/xlsx.png' import xlsx from '@/assets/file_icon/xlsx.png'
import mp4 from '@/assets/file_icon/xlsx.png'
import PreviewFile from '@/components/PreviewFile' import PreviewFile from '@/components/PreviewFile'
import imageViewer from './image-viewer' import imageViewer from './image-viewer'
import { getSystemDocumentAttachmentList } from '@/api/dictionary' import { getSystemDocumentAttachmentList } from '@/api/dictionary'
@ -113,7 +112,6 @@ export default {
pptx, pptx,
xls, xls,
xlsx, xlsx,
mp4,
rowData: {}, rowData: {},
list: [], list: [],
searchData: defaultSearchData(), searchData: defaultSearchData(),

View File

@ -1291,17 +1291,8 @@ export default {
let res = await replaceQCTaskActionUser(this.data.TrialId, this.data.Id, this.assignForm) let res = await replaceQCTaskActionUser(this.data.TrialId, this.data.Id, this.assignForm)
if (res.IsSuccess) { if (res.IsSuccess) {
this.$emit('getList') this.$emit('getList')
this.assignObj.visible = false this.assignObj.visible = true
this.$emit("close") this.$emit("close")
} else {
if (res.Code === 5 && res.ErrorMessage) {
this.$confirm(res.ErrorMessage, {
type: 'warning',
showCancelButton: false,
callback: (action) => { },
})
this.$emit('getList')
}
} }
} catch (err) { } catch (err) {
console.log(err) console.log(err)

View File

@ -812,25 +812,10 @@ export default {
.catch(() => { }) .catch(() => { })
}, },
// //
async reviewTask(row) { reviewTask(row) {
if (!this.OtherInfo.IsQCQuestionConfirmed) return this.$alert(this.$t("trials:qcCheck:alert:questionNoConfirm")) if (!this.OtherInfo.IsQCQuestionConfirmed) return this.$alert(this.$t("trials:qcCheck:alert:questionNoConfirm"))
this.loading = true this.rowData = { ...row }
let res = await takeOrReleaseQCTask(row.TrialId, row.Id, true) this.qcVisible = true
this.loading = false
if (res.IsSuccess) {
this.rowData = { ...row }
this.qcVisible = true
} else {
if (res.Code === 5 && res.ErrorMessage) {
this.$confirm(res.ErrorMessage, {
type: 'warning',
showCancelButton: false,
callback: (action) => { },
})
this.getList()
}
}
}, },
// //
handlePrimaryQC(row) { handlePrimaryQC(row) {