fix(测试跟踪): 用例责任人展示问题

--bug=1025006 --user=宋昌昌 【测试跟踪】功能用例-修改用例责任人-保存后右侧责任人处显示暂无 https://www.tapd.cn/55049933/s/1358080
This commit is contained in:
song-cc-rock 2023-03-31 16:28:12 +08:00 committed by jianxing
parent c467e3a64d
commit 3427f73c4f
3 changed files with 11 additions and 5 deletions

View File

@ -9,7 +9,7 @@
</el-tooltip>
<el-tooltip v-if="rightButtonEnable" class="item" effect="dark" :content="rightTip" placement="bottom">
<el-button plain :class="{active: rightActive}" style="margin: 3px 3px 3px 0" @click="changeTab('right')">
<el-button plain :class="{active: rightActive}" style="margin: 3px 0 3px -2px" @click="changeTab('right')">
<svg-icon :icon-class="rightActive ? rightIconActiveClass : rightIconClass"/>
</el-button>
</el-tooltip>

View File

@ -268,8 +268,14 @@ export default {
? this.contentObject.content.value
: this.contentObject.content.defaultValue;
if(!tempValue || Array.isArray(tempValue) && tempValue.length <= 0){
this.isCustomNone = true;
return this.$t("case.none");
let customVal = this.model[this.contentObject.content.name];
if (customVal) {
this.isCustomNone = false;
tempValue = customVal;
} else {
this.isCustomNone = true;
return this.$t("case.none");
}
} else {
this.isCustomNone = false;
}

View File

@ -182,9 +182,9 @@
<div class="split"></div>
<div class="copy-row sub-opt-row" @click="copyRow">
<div class="icon">
<img :src="!hasDeletePermission ? '/assets/module/figma/icon_copy_outlined_disable.svg' : '/assets/module/figma/icon_copy_outlined.svg'" alt=""/>
<img :src="!hasCopyPermission ? '/assets/module/figma/icon_copy_outlined_disable.svg' : '/assets/module/figma/icon_copy_outlined.svg'" alt=""/>
</div>
<div class="title" :style="!hasDeletePermission ? 'color: rgb(187, 187, 187); cursor: not-allowed;' : 'cursor: pointer;'">{{ $t("commons.copy") }}</div>
<div class="title" :style="!hasCopyPermission ? 'color: rgb(187, 187, 187); cursor: not-allowed;' : 'cursor: pointer;'">{{ $t("commons.copy") }}</div>
</div>
<div class="split"></div>
<div class="delete-row sub-opt-row" @click="deleteRow">