阅片关键点添加查看全部
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
f58e52585f
commit
8dedd1068a
|
|
@ -296,6 +296,7 @@
|
||||||
<el-button :disabled="isConfirm ||
|
<el-button :disabled="isConfirm ||
|
||||||
!hasPermi(['trials:trials-panel:setting:reading-unit:edit'])
|
!hasPermi(['trials:trials-panel:setting:reading-unit:edit'])
|
||||||
" icon="el-icon-plus" circle @click="handleSetKeyFileList" />
|
" icon="el-icon-plus" circle @click="handleSetKeyFileList" />
|
||||||
|
<el-button :disabled="form.KeyFileList.length <= 0" icon="el-icon-view" circle @click="viewManual" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item :label="$t(
|
<el-form-item :label="$t(
|
||||||
'trials:trials-panel:setting:reading-unit:TrialCriterionAdditionalAssessmentTypeList'
|
'trials:trials-panel:setting:reading-unit:TrialCriterionAdditionalAssessmentTypeList'
|
||||||
|
|
@ -374,14 +375,18 @@
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
<attachmentPreview :visible.sync="perview_visible" :isView="true" :isExternal="true" :ExternalList="ExternalList"
|
||||||
|
v-if="perview_visible" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { getCriterionReadingInfo, setCriterionReadingInfo } from '@/api/trials'
|
import { getCriterionReadingInfo, setCriterionReadingInfo } from '@/api/trials'
|
||||||
import { config } from '@/views/trials/trials-panel/reading/dicoms3D/components/toolConfig'
|
import { config } from '@/views/trials/trials-panel/reading/dicoms3D/components/toolConfig'
|
||||||
import { readEntry } from '@/utils/index'
|
import { readEntry } from '@/utils/index'
|
||||||
|
import attachmentPreview from '@/views/dictionary/attachment/components/SignatureTemplate/attachmentPreview'
|
||||||
export default {
|
export default {
|
||||||
name: 'ReadingRules',
|
name: 'ReadingRules',
|
||||||
|
components: { attachmentPreview },
|
||||||
props: {
|
props: {
|
||||||
trialReadingCriterionId: {
|
trialReadingCriterionId: {
|
||||||
type: String,
|
type: String,
|
||||||
|
|
@ -400,6 +405,8 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
perview_visible: false,
|
||||||
|
ExternalList: [],
|
||||||
keyDocVisible: false,
|
keyDocVisible: false,
|
||||||
confirmData: [],
|
confirmData: [],
|
||||||
additionalAssessmentOptionList: [],
|
additionalAssessmentOptionList: [],
|
||||||
|
|
@ -628,6 +635,23 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
async viewManual() {
|
||||||
|
try {
|
||||||
|
if (this.form.KeyFileList.length <= 0) return this.$message.warning(this.$t("trials:researchRecord:ImageManual:message:noImageManual"))
|
||||||
|
this.ExternalList = []
|
||||||
|
this.form.KeyFileList.forEach(item => {
|
||||||
|
let obj = {
|
||||||
|
FilePath: item.FilePath,
|
||||||
|
FileFormat: 'pdf',
|
||||||
|
Name: item.FileName
|
||||||
|
}
|
||||||
|
this.ExternalList.push(obj)
|
||||||
|
});
|
||||||
|
this.perview_visible = true
|
||||||
|
} catch (err) {
|
||||||
|
console.log(err)
|
||||||
|
}
|
||||||
|
},
|
||||||
handleDragover(e) {
|
handleDragover(e) {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue