fix(测试跟踪): 关注缺陷后,打开其他缺陷也会显示关注
--bug=1014280 --user=陈建星 【测试跟踪】项目关联jira,缺陷管理列表描述字段图片没有显示 https://www.tapd.cn/55049933/s/1187714
This commit is contained in:
parent
c9c9123743
commit
036fe28bf1
|
@ -173,7 +173,7 @@ export default {
|
||||||
loading: false
|
loading: false
|
||||||
},
|
},
|
||||||
relateFields: [],
|
relateFields: [],
|
||||||
showFollow:false,
|
showFollow: false,
|
||||||
formLabelWidth: "150px",
|
formLabelWidth: "150px",
|
||||||
issueTemplate: {},
|
issueTemplate: {},
|
||||||
customFieldForm: null,
|
customFieldForm: null,
|
||||||
|
@ -286,6 +286,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
open(data, type) {
|
open(data, type) {
|
||||||
|
this.showFollow = false;
|
||||||
this.result.loading = true;
|
this.result.loading = true;
|
||||||
this.type = type;
|
this.type = type;
|
||||||
this.richTextDefaultOpen = this.type === 'edit' ? 'preview' : 'edit';
|
this.richTextDefaultOpen = this.type === 'edit' ? 'preview' : 'edit';
|
||||||
|
|
|
@ -137,6 +137,16 @@
|
||||||
<span v-if="field.name === '状态'">
|
<span v-if="field.name === '状态'">
|
||||||
{{getCustomFieldValue(scope.row, field) ? getCustomFieldValue(scope.row, field) : issueStatusMap[scope.row.status]}}
|
{{getCustomFieldValue(scope.row, field) ? getCustomFieldValue(scope.row, field) : issueStatusMap[scope.row.status]}}
|
||||||
</span>
|
</span>
|
||||||
|
<span v-if="field.type === 'richText'">
|
||||||
|
<el-popover
|
||||||
|
placement="right"
|
||||||
|
width="500"
|
||||||
|
trigger="hover"
|
||||||
|
popper-class="issues-popover">
|
||||||
|
<ms-mark-down-text prop="value" :data="{value: getCustomFieldValue(scope.row, field)}" :disabled="true"/>
|
||||||
|
<el-button slot="reference" type="text">{{ $t('test_track.issue.preview') }}</el-button>
|
||||||
|
</el-popover>
|
||||||
|
</span>
|
||||||
<span v-else>
|
<span v-else>
|
||||||
{{getCustomFieldValue(scope.row, field)}}
|
{{getCustomFieldValue(scope.row, field)}}
|
||||||
</span>
|
</span>
|
||||||
|
@ -181,10 +191,12 @@ import MsMainContainer from "@/business/components/common/components/MsMainConta
|
||||||
import {getCurrentProjectID, getCurrentWorkspaceId} from "@/common/js/utils";
|
import {getCurrentProjectID, getCurrentWorkspaceId} from "@/common/js/utils";
|
||||||
import {getProjectMember} from "@/network/user";
|
import {getProjectMember} from "@/network/user";
|
||||||
import {LOCAL} from "@/common/js/constants";
|
import {LOCAL} from "@/common/js/constants";
|
||||||
|
import MsMarkDownText from "@/business/components/track/case/components/MsMarkDownText";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "IssueList",
|
name: "IssueList",
|
||||||
components: {
|
components: {
|
||||||
|
MsMarkDownText,
|
||||||
MsMainContainer,
|
MsMainContainer,
|
||||||
MsContainer,
|
MsContainer,
|
||||||
IssueEdit,
|
IssueEdit,
|
||||||
|
|
Loading…
Reference in New Issue