Compare commits

..

No commits in common. "6bb7d4751126bb550812ec14d4227f26359745f8" and "8e641300d2df74f6a4a4bcca01c1c5413eb3bdf6" have entirely different histories.

12 changed files with 86 additions and 138 deletions

View File

@ -873,10 +873,7 @@ export default {
synchronizer.remove(this.$refs.canvas) synchronizer.remove(this.$refs.canvas)
this.setAllToolsPassive() this.setAllToolsPassive()
}, },
onContextmenu(e) { onContextmenu(event) {
e.stopImmediatePropagation()
e.stopPropagation()
e.preventDefault()
// const colormapsList = cornerstone.colors.getColormapsList() // const colormapsList = cornerstone.colors.getColormapsList()
// const colorItems = [] // const colorItems = []
// colorItems.push({ // colorItems.push({
@ -1063,7 +1060,7 @@ export default {
// zIndex: 3, // zIndex: 3,
// minWidth: 100 // minWidth: 100
// }) // })
// return false return false
}, },
getToolSate() { getToolSate() {
const toolROITypes = [ const toolROITypes = [

View File

@ -201,7 +201,4 @@ export default {
margin-right: 5px; margin-right: 5px;
} }
} }
::v-deep .el-dialog__header{
font-weight: bold;
}
</style> </style>

View File

@ -446,7 +446,7 @@ async function VueInit() {
Vue.prototype.$MFA({ Vue.prototype.$MFA({
status: "lock", status: "lock",
UserId: my_userid, UserId: my_userid,
EMail: res.Result, EMail: my_EMail,
username: my_username, username: my_username,
callBack: () => { callBack: () => {
closeLock(_vm) closeLock(_vm)

View File

@ -56,20 +56,28 @@
trigger="hover" trigger="hover"
popper-class="instance_frame_wrapper" popper-class="instance_frame_wrapper"
> >
<div class="frame_list"> <div
<div v-for="(instance, idx) in item.instanceInfoList"
v-for="(instance, idx) in item.instanceInfoList" :key="instance.Id"
:key="instance.Id" class="frame_content"
class="frame_content" :style="{'margin-bottom':idx<item.instanceInfoList.length-1? '5px':'0px'}"
:style="{'margin-bottom':idx<item.instanceInfoList.length-1? '5px':'0px'}" @click="showMultiFrames(item, index, instance)"
@click="showMultiFrames(item, index, instance)" >
> <!-- <div>
<div> <img
<div>{{ instance.InstanceNumber }}</div> class="image-preview"
<div>{{ `${instance.NumberOfFrames > 0 ? instance.NumberOfFrames : 1} frame` }}</div> :src="series.previewImageUrl"
</div> crossorigin="anonymous"
alt=""
style="width: 40px;height:40px;"
fit="fill"
>
</div> -->
<div>
<div>{{ instance.InstanceNumber }}</div>
<div>{{ `${instance.NumberOfFrames > 0 ? instance.NumberOfFrames : 1} frame` }}</div>
</div> </div>
</div> </div>
<i slot="reference" class="el-icon-connection" style="font-size: 15px;cursor: pointer;" /> <i slot="reference" class="el-icon-connection" style="font-size: 15px;cursor: pointer;" />
</el-popover> </el-popover>
@ -877,18 +885,6 @@ export default {
border: 1px solid #2c2c2c; border: 1px solid #2c2c2c;
padding: 5px; padding: 5px;
} }
.frame_list{
max-height: 500px;
overflow-y: auto;
}
.instance_frame_wrapper ::-webkit-scrollbar {
width: 7px;
height: 7px;
}
.instance_frame_wrapper ::-webkit-scrollbar-thumb {
border-radius: 10px;
background: #d0d0d0;
}
.frame_content{ .frame_content{
height: 50px; height: 50px;
padding: 5px; padding: 5px;

View File

@ -200,20 +200,28 @@
trigger="hover" trigger="hover"
popper-class="instance_frame_wrapper" popper-class="instance_frame_wrapper"
> >
<div class="frame_list"> <div
<div v-for="(instance, idx) in seriesItem.instanceInfoList"
v-for="(instance, idx) in seriesItem.instanceInfoList" :key="instance.Id"
:key="instance.Id" class="frame_content"
class="frame_content" :style="{'margin-bottom':idx<seriesItem.instanceInfoList.length-1? '5px':'0px'}"
:style="{'margin-bottom':idx<seriesItem.instanceInfoList.length-1? '5px':'0px'}" @click="showMultiFrames(studyIndex,seriesItem, index, instance)"
@click="showMultiFrames(studyIndex,seriesItem, index, instance)" >
> <!-- <div>
<div> <img
<div>{{ instance.InstanceNumber }}</div> class="image-preview"
<div>{{ `${instance.NumberOfFrames > 0 ? instance.NumberOfFrames : 1} frame` }}</div> :src="series.previewImageUrl"
</div> crossorigin="anonymous"
alt=""
style="width: 40px;height:40px;"
fit="fill"
>
</div> -->
<div>
<div>{{ instance.InstanceNumber }}</div>
<div>{{ `${instance.NumberOfFrames > 0 ? instance.NumberOfFrames : 1} frame` }}</div>
</div> </div>
</div> </div>
<i slot="reference" class="el-icon-connection" style="font-size: 15px;cursor: pointer;" /> <i slot="reference" class="el-icon-connection" style="font-size: 15px;cursor: pointer;" />
</el-popover> </el-popover>
@ -893,18 +901,6 @@ export default {
border: 1px solid #2c2c2c; border: 1px solid #2c2c2c;
padding: 5px; padding: 5px;
} }
.frame_list{
max-height: 500px;
overflow-y: auto;
}
.instance_frame_wrapper ::-webkit-scrollbar {
width: 7px;
height: 7px;
}
.instance_frame_wrapper ::-webkit-scrollbar-thumb {
border-radius: 10px;
background: #d0d0d0;
}
.frame_content{ .frame_content{
height: 50px; height: 50px;
padding: 5px; padding: 5px;

View File

@ -155,7 +155,7 @@ export default {
this.logout(); this.logout();
break; break;
case "4-4": case "4-4":
this.go("/dashboard/list"); this.go("/system");
break; break;
case "1": case "1":
this.go("/trials/trials-workbench"); this.go("/trials/trials-workbench");

View File

@ -67,20 +67,28 @@
trigger="hover" trigger="hover"
popper-class="instance_frame_wrapper" popper-class="instance_frame_wrapper"
> >
<div class="frame_list"> <div
<div
v-for="(instance, idx) in series.instanceInfoList" v-for="(instance, idx) in series.instanceInfoList"
:key="instance.Id" :key="instance.Id"
class="frame_content" class="frame_content"
:style="{'margin-bottom':idx<series.instanceInfoList.length-1? '5px':'0px'}" :style="{'margin-bottom':idx<series.instanceInfoList.length-1? '5px':'0px'}"
@click.stop="showMultiFrames(index,series, i, instance)" @click.stop="showMultiFrames(index,series, i, instance)"
> >
<!-- <div>
<img
class="image-preview"
:src="series.previewImageUrl"
crossorigin="anonymous"
alt=""
style="width: 40px;height:40px;"
fit="fill"
>
</div> -->
<div> <div>
<div>{{ instance.InstanceNumber }}</div> <div>{{ instance.InstanceNumber }}</div>
<div>{{ `${instance.NumberOfFrames > 0 ? instance.NumberOfFrames : 1} frame` }}</div> <div>{{ `${instance.NumberOfFrames > 0 ? instance.NumberOfFrames : 1} frame` }}</div>
</div> </div>
</div>
</div> </div>
<i slot="reference" class="el-icon-connection" style="font-size: 15px;cursor: pointer;color: #ffeb3b;" /> <i slot="reference" class="el-icon-connection" style="font-size: 15px;cursor: pointer;color: #ffeb3b;" />
</el-popover> </el-popover>
@ -1014,18 +1022,6 @@ export default {
border: 1px solid #2c2c2c; border: 1px solid #2c2c2c;
padding: 5px; padding: 5px;
} }
.frame_list{
max-height: 500px;
overflow-y: auto;
}
.instance_frame_wrapper ::-webkit-scrollbar {
width: 7px;
height: 7px;
}
.instance_frame_wrapper ::-webkit-scrollbar-thumb {
border-radius: 10px;
background: #d0d0d0;
}
.frame_content{ .frame_content{
height: 50px; height: 50px;
padding: 5px; padding: 5px;

View File

@ -67,30 +67,28 @@
trigger="hover" trigger="hover"
popper-class="instance_frame_wrapper" popper-class="instance_frame_wrapper"
> >
<div class="frame_list"> <div
<div v-for="(instance, idx) in series.instanceInfoList"
v-for="(instance, idx) in series.instanceInfoList" :key="instance.Id"
:key="instance.Id" class="frame_content"
class="frame_content" :style="{'margin-bottom':idx<series.instanceInfoList.length-1? '5px':'0px'}"
:style="{'margin-bottom':idx<series.instanceInfoList.length-1? '5px':'0px'}" @click.stop="showMultiFrames(index,series, i, instance)"
@click.stop="showMultiFrames(index,series, i, instance)" >
> <!-- <div>
<!-- <div> <img
<img class="image-preview"
class="image-preview" :src="series.previewImageUrl"
:src="series.previewImageUrl" crossorigin="anonymous"
crossorigin="anonymous" alt=""
alt="" style="width: 40px;height:40px;"
style="width: 40px;height:40px;" fit="fill"
fit="fill" >
> </div> -->
</div> --> <div>
<div> <div>{{ instance.InstanceNumber }}</div>
<div>{{ instance.InstanceNumber }}</div> <div>{{ `${instance.NumberOfFrames > 0 ? instance.NumberOfFrames : 1} frame` }}</div>
<div>{{ `${instance.NumberOfFrames > 0 ? instance.NumberOfFrames : 1} frame` }}</div>
</div>
</div> </div>
</div> </div>
<i slot="reference" class="el-icon-connection" style="font-size: 15px;cursor: pointer;color: #ffeb3b;" /> <i slot="reference" class="el-icon-connection" style="font-size: 15px;cursor: pointer;color: #ffeb3b;" />
</el-popover> </el-popover>
@ -956,18 +954,6 @@ export default {
border: 1px solid #2c2c2c; border: 1px solid #2c2c2c;
padding: 5px; padding: 5px;
} }
.frame_list{
max-height: 500px;
overflow-y: auto;
}
.instance_frame_wrapper ::-webkit-scrollbar {
width: 7px;
height: 7px;
}
.instance_frame_wrapper ::-webkit-scrollbar-thumb {
border-radius: 10px;
background: #d0d0d0;
}
.frame_content{ .frame_content{
height: 50px; height: 50px;
padding: 5px; padding: 5px;

View File

@ -27,7 +27,7 @@
</el-form-item> </el-form-item>
<!-- 分组名称 --> <!-- 分组名称 -->
<el-form-item <el-form-item
v-if="(form.Type === 'group' && $i18n.locale !== 'en')" v-if="(form.Type === 'group' && !isLook) || (isLook && $i18n.locale !== 'en')"
:label="$t('trials:readingUnit:qsList:title:groupName')" :label="$t('trials:readingUnit:qsList:title:groupName')"
prop="GroupName" prop="GroupName"
> >
@ -37,7 +37,7 @@
</el-form-item> </el-form-item>
<!-- 分组名称(En) --> <!-- 分组名称(En) -->
<el-form-item <el-form-item
v-if="(form.Type === 'group' && $i18n.locale !== 'zh')" v-if="(form.Type === 'group' && !isLook) || (isLook && $i18n.locale !== 'zh')"
:label="$t('trials:readingUnit:qsList:title:groupNameEn')" :label="$t('trials:readingUnit:qsList:title:groupNameEn')"
prop="GroupEnName" prop="GroupEnName"
> >
@ -47,7 +47,7 @@
</el-form-item> </el-form-item>
<!-- 问题名称 --> <!-- 问题名称 -->
<el-form-item <el-form-item
v-if="(form.Type !== 'group' && $i18n.locale !== 'en' )" v-if="(form.Type !== 'group' && !isLook) || (isLook && $i18n.locale !== 'en')"
:label="$t('trials:readingUnit:qsList:title:qsName')" :label="$t('trials:readingUnit:qsList:title:qsName')"
prop="QuestionName" prop="QuestionName"
> >
@ -57,7 +57,7 @@
</el-form-item> </el-form-item>
<!-- 问题名称(En) --> <!-- 问题名称(En) -->
<el-form-item <el-form-item
v-if="(form.Type !== 'group' && $i18n.locale !== 'zh')" v-if="(form.Type !== 'group' && !isLook) || (isLook && $i18n.locale !== 'zh')"
:label="$t('trials:readingUnit:qsList:title:qsNameEn')" :label="$t('trials:readingUnit:qsList:title:qsNameEn')"
prop="QuestionEnName" prop="QuestionEnName"
> >
@ -791,8 +791,6 @@ export default {
], ],
QuestionName: [{required: true, message: this.$t('common:ruleMessage:specify'), trigger: ['blur', 'change']}, QuestionName: [{required: true, message: this.$t('common:ruleMessage:specify'), trigger: ['blur', 'change']},
{max: 50, message: `${this.$t('common:ruleMessage:maxLength')} 50`}], {max: 50, message: `${this.$t('common:ruleMessage:maxLength')} 50`}],
QuestionEnName:[{required: true, message: this.$t('common:ruleMessage:specify'), trigger: ['blur', 'change']},
{max: 50, message: `${this.$t('common:ruleMessage:maxLength')} 50`}],
TypeValue: [{required: true, message: this.$t('common:ruleMessage:specify'), trigger: ['blur', 'change']}, TypeValue: [{required: true, message: this.$t('common:ruleMessage:specify'), trigger: ['blur', 'change']},
{validator: validateTypeVal, trigger: ['blur', 'change']}, {validator: validateTypeVal, trigger: ['blur', 'change']},
{max: 200, message: `${this.$t('common:ruleMessage:maxLength')} 200`}], {max: 200, message: `${this.$t('common:ruleMessage:maxLength')} 200`}],
@ -976,16 +974,6 @@ export default {
this.$refs.qsForm.validate(valid => { this.$refs.qsForm.validate(valid => {
if (!valid) return if (!valid) return
this.loading = true this.loading = true
if(this.form.QuestionName && this.$i18n.locale === 'zh'){
this.form.QuestionEnName = this.form.QuestionName;
}else if(this.form.QuestionEnName && this.$i18n.locale === 'en'){
this.form.QuestionName = this.form.QuestionEnName;
}
if(this.form.GroupName && this.$i18n.locale === 'zh'){
this.form.GroupEnName = this.form.GroupName;
}else if(this.$i18n.locale === 'en' && this.form.GroupEnName){
this.form.GroupName = this.form.GroupEnName;
}
var params = Object.assign({}, this.form) var params = Object.assign({}, this.form)
params.TrialId = this.$route.query.trialId params.TrialId = this.$route.query.trialId
params.ReadingCriterionPageId = this.data.ReadingCriterionPageId params.ReadingCriterionPageId = this.data.ReadingCriterionPageId

View File

@ -146,7 +146,7 @@
<el-table-column <el-table-column
prop="" prop=""
:label="$t('common:action:action')" :label="$t('common:action:action')"
width="300" width="280"
show-overflow-tooltip show-overflow-tooltip
> >
<template slot-scope="scope"> <template slot-scope="scope">

View File

@ -35,7 +35,7 @@
/> />
</el-form-item> </el-form-item>
<el-form-item <el-form-item
v-if="form.Type !== 'group'&& $i18n.locale !== 'en'" v-if="form.Type !== 'group'"
:label="$t('trials:readingUnit:qsList:title:qsName')" :label="$t('trials:readingUnit:qsList:title:qsName')"
prop="QuestionName" prop="QuestionName"
> >
@ -44,7 +44,7 @@
/> />
</el-form-item> </el-form-item>
<el-form-item <el-form-item
v-if="form.Type !== 'group'&& $i18n.locale !== 'zh'" v-if="form.Type !== 'group'"
:label="$t('trials:readingUnit:qsList:title:qsNameEn')" :label="$t('trials:readingUnit:qsList:title:qsNameEn')"
prop="QuestionEnName" prop="QuestionEnName"
> >
@ -553,8 +553,7 @@ export default {
], ],
QuestionName: [{ required: true, message: this.$t('common:ruleMessage:specify'), trigger: 'blur' }, QuestionName: [{ required: true, message: this.$t('common:ruleMessage:specify'), trigger: 'blur' },
{ max: 200, message: `${this.$t('common:ruleMessage:maxLength')} 200` }], { max: 200, message: `${this.$t('common:ruleMessage:maxLength')} 200` }],
QuestionEnName:[{required: true, message: this.$t('common:ruleMessage:specify'), trigger: ['blur', 'change']},
{max: 50, message: `${this.$t('common:ruleMessage:maxLength')} 50`}],
TypeValue: [{ required: true, message: this.$t('common:ruleMessage:specify'), trigger: 'blur' }, TypeValue: [{ required: true, message: this.$t('common:ruleMessage:specify'), trigger: 'blur' },
{ validator: validateTypeVal, trigger: 'blur' }, { validator: validateTypeVal, trigger: 'blur' },
{ max: 200, message: `${this.$t('common:ruleMessage:maxLength')} 200` }], { max: 200, message: `${this.$t('common:ruleMessage:maxLength')} 200` }],
@ -696,11 +695,6 @@ export default {
this.$refs.tableQsForm.validate(valid => { this.$refs.tableQsForm.validate(valid => {
if (!valid) return if (!valid) return
this.loading = true this.loading = true
if(this.form.QuestionName && this.$i18n.locale === 'zh'){
this.form.QuestionEnName = this.form.QuestionName;
}else if(this.form.QuestionEnName && this.$i18n.locale === 'en'){
this.form.QuestionName = this.form.QuestionEnName;
}
var params = Object.assign({}, this.form) var params = Object.assign({}, this.form)
params.TrialId = this.$route.query.trialId params.TrialId = this.$route.query.trialId
params.ReadingQuestionId = this.readingQuestionId params.ReadingQuestionId = this.readingQuestionId

View File

@ -29,14 +29,12 @@
<!-- 名称 --> <!-- 名称 -->
<el-table-column <el-table-column
prop="QuestionName" prop="QuestionName"
v-if="$i18n.locale === 'zh'"
:label="$t('trials:readingUnit:qsList:title:qsName')" :label="$t('trials:readingUnit:qsList:title:qsName')"
show-overflow-tooltip show-overflow-tooltip
/> />
<!-- 名称(EN) --> <!-- 名称(EN) -->
<el-table-column <el-table-column
prop="QuestionEnName" prop="QuestionEnName"
v-if="$i18n.locale === 'en'"
:label="$t('trials:readingUnit:qsList:title:qsNameEn')" :label="$t('trials:readingUnit:qsList:title:qsNameEn')"
show-overflow-tooltip show-overflow-tooltip
/> />