阅片分享修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
3187f475f1
commit
f20212cefe
|
@ -233,6 +233,7 @@ import {
|
||||||
downloadImageSuccess,
|
downloadImageSuccess,
|
||||||
} from '@/api/trials.js'
|
} from '@/api/trials.js'
|
||||||
import BaseModel from '@/components/BaseModel'
|
import BaseModel from '@/components/BaseModel'
|
||||||
|
import moment from "moment";
|
||||||
const defaultSearchData = () => {
|
const defaultSearchData = () => {
|
||||||
return {
|
return {
|
||||||
SubjectCode: null,
|
SubjectCode: null,
|
||||||
|
@ -364,7 +365,8 @@ export default {
|
||||||
async copyCode() {
|
async copyCode() {
|
||||||
let res = await this.updateImageShare()
|
let res = await this.updateImageShare()
|
||||||
if (!res) return false
|
if (!res) return false
|
||||||
this.$copyText(`${this.$t('trials:researchRecord:label:link')} ${this.shareLink} ${this.$t('trials:studyList:message:message2')}${this.form.extractionCode}`).then(
|
let time = moment().add(this.form.ImageShareExpireDays, 'days').format('YYYY-MM-DD HH:mm')
|
||||||
|
this.$copyText(`${this.$t('trials:researchRecord:label:shareLink')} ${this.shareLink}\n${this.$t('trials:studyList:message:message2')}${this.form.extractionCode}\t${this.$t('trials:studyList:message:ExpirationTime')}${time}`).then(
|
||||||
res => {
|
res => {
|
||||||
this.$message.success(this.$t('trials:researchRecord:message:copySuccessfully'))
|
this.$message.success(this.$t('trials:researchRecord:message:copySuccessfully'))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue