Compare commits
3 Commits
57bec076b7
...
6218b536f9
| Author | SHA1 | Date |
|---|---|---|
|
|
6218b536f9 | |
|
|
7493c1a98a | |
|
|
d91a9170de |
Binary file not shown.
|
After Width: | Height: | Size: 6.1 KiB |
|
|
@ -70,6 +70,7 @@ import ppt from '@/assets/file_icon/ppt.png'
|
|||
import pptx from '@/assets/file_icon/pptx.png'
|
||||
import xls from '@/assets/file_icon/xls.png'
|
||||
import xlsx from '@/assets/file_icon/xlsx.png'
|
||||
import mp4 from '@/assets/file_icon/xlsx.png'
|
||||
import PreviewFile from '@/components/PreviewFile'
|
||||
import imageViewer from './image-viewer'
|
||||
import { getSystemDocumentAttachmentList } from '@/api/dictionary'
|
||||
|
|
@ -112,6 +113,7 @@ export default {
|
|||
pptx,
|
||||
xls,
|
||||
xlsx,
|
||||
mp4,
|
||||
rowData: {},
|
||||
list: [],
|
||||
searchData: defaultSearchData(),
|
||||
|
|
|
|||
|
|
@ -1291,8 +1291,17 @@ export default {
|
|||
let res = await replaceQCTaskActionUser(this.data.TrialId, this.data.Id, this.assignForm)
|
||||
if (res.IsSuccess) {
|
||||
this.$emit('getList')
|
||||
this.assignObj.visible = true
|
||||
this.assignObj.visible = false
|
||||
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) {
|
||||
console.log(err)
|
||||
|
|
|
|||
|
|
@ -812,10 +812,25 @@ export default {
|
|||
.catch(() => { })
|
||||
},
|
||||
// 复审
|
||||
reviewTask(row) {
|
||||
async reviewTask(row) {
|
||||
if (!this.OtherInfo.IsQCQuestionConfirmed) return this.$alert(this.$t("trials:qcCheck:alert:questionNoConfirm"))
|
||||
this.rowData = { ...row }
|
||||
this.qcVisible = true
|
||||
this.loading = true
|
||||
let res = await takeOrReleaseQCTask(row.TrialId, row.Id, 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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue