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 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'
|
||||||
|
|
@ -112,6 +113,7 @@ export default {
|
||||||
pptx,
|
pptx,
|
||||||
xls,
|
xls,
|
||||||
xlsx,
|
xlsx,
|
||||||
|
mp4,
|
||||||
rowData: {},
|
rowData: {},
|
||||||
list: [],
|
list: [],
|
||||||
searchData: defaultSearchData(),
|
searchData: defaultSearchData(),
|
||||||
|
|
|
||||||
|
|
@ -1291,8 +1291,17 @@ 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 = true
|
this.assignObj.visible = false
|
||||||
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)
|
||||||
|
|
|
||||||
|
|
@ -812,10 +812,25 @@ export default {
|
||||||
.catch(() => { })
|
.catch(() => { })
|
||||||
},
|
},
|
||||||
// 复审
|
// 复审
|
||||||
reviewTask(row) {
|
async 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.rowData = { ...row }
|
this.loading = true
|
||||||
this.qcVisible = 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) {
|
handlePrimaryQC(row) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue