fix(测试跟踪): 导出缺陷弹窗字段勾选处理问题
--bug=1032393 --user=宋昌昌 【测试跟踪】缺陷管理-导出缺陷-勾选导出基础字段-导出后没有缺陷标题 https://www.tapd.cn/55049933/s/1435640
This commit is contained in:
parent
7e5ceb67ea
commit
6b7a529c40
|
@ -55,6 +55,7 @@ import io.metersphere.service.remote.project.TrackIssueTemplateService;
|
|||
import io.metersphere.service.wapper.TrackProjectService;
|
||||
import io.metersphere.service.wapper.UserService;
|
||||
import io.metersphere.utils.DistinctKeyUtil;
|
||||
import io.metersphere.xpack.track.dto.AttachmentRequest;
|
||||
import io.metersphere.xpack.track.dto.PlatformStatusDTO;
|
||||
import io.metersphere.xpack.track.dto.PlatformUser;
|
||||
import io.metersphere.xpack.track.dto.*;
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
<script>
|
||||
|
||||
import IssueExportFieldList from "@/business/issue/components/export/IssueExportFieldList";
|
||||
|
||||
export default {
|
||||
name: "IssueExportFieldSelectItem",
|
||||
components: {IssueExportFieldList},
|
||||
|
@ -81,9 +82,12 @@ export default {
|
|||
|
||||
let isSelectAll = true;
|
||||
for (let field of this.fields) {
|
||||
if (enableKeys) {
|
||||
if (enableKeys.indexOf(field.key) > -1) {
|
||||
if (field.id === 'id' || field.id === 'title') {
|
||||
// 缺陷的ID, 标题默认必须勾选
|
||||
field.enable = true;
|
||||
} else {
|
||||
if (enableKeys) {
|
||||
field.enable = enableKeys.indexOf(field.key) > -1;
|
||||
} else {
|
||||
field.enable = false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue