推送添加复制功能
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
9622f23236
commit
073abd2efa
|
@ -17,6 +17,7 @@
|
|||
<el-form ref="hirAEform" :model="hirAE" label-width="120px">
|
||||
<el-form-item :label="$t('trials:inspection:pullImage:form:hirAEName')">
|
||||
<span>{{ hirAE.CalledAE }}</span>
|
||||
<i class="el-icon-document-copy copy" @click="copy(hirAE.CalledAE)"></i>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('trials:inspection:pullImage:form:hirAIP')">
|
||||
<span>{{ hirAE.IP }}</span>
|
||||
|
@ -35,6 +36,7 @@
|
|||
<el-form ref="groupAEAEform" label-width="120px">
|
||||
<el-form-item v-for="item of groupAEList" :key="item.Id" :label="`${item.Name}: `">
|
||||
<span>{{ item.CallingAE }}</span>
|
||||
<i class="el-icon-document-copy copy" @click="copy(item.CallingAE)"></i>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</el-descriptions-item>
|
||||
|
@ -64,6 +66,13 @@ export default {
|
|||
},
|
||||
},
|
||||
methods: {
|
||||
copy(str) {
|
||||
this.$copyText(str).then(
|
||||
res => {
|
||||
this.$message.success(this.$t('trials:researchRecord:message:copySuccessfully'))
|
||||
}
|
||||
).catch(() => { this.$message.error(this.$t('trials:researchRecord:message:copyFailed')) })
|
||||
},
|
||||
async getHirAE() {
|
||||
try {
|
||||
let data = { PacsTypeEnum: 0, PageIndex: 1, PageSize: 20, }
|
||||
|
@ -112,4 +121,13 @@ export default {
|
|||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped></style>
|
||||
<style lang="scss" scoped>
|
||||
.copy {
|
||||
margin-left: 5px;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
color: #409EFF;
|
||||
}
|
||||
}
|
||||
</style>
|
Loading…
Reference in New Issue