fix: 修改缺陷同步bugs&测试计划部分bug&文件转存bug
This commit is contained in:
parent
c50243e35c
commit
ef29029d46
|
@ -89,6 +89,7 @@
|
|||
placeholder?: string;
|
||||
draggable?: boolean;
|
||||
previewUrl?: string;
|
||||
editable?: boolean;
|
||||
}>(),
|
||||
{
|
||||
raw: '',
|
||||
|
@ -340,6 +341,7 @@
|
|||
}) as Extension<any, any>,
|
||||
],
|
||||
autofocus: false,
|
||||
editable: !props.editable,
|
||||
onUpdate: () => {
|
||||
debounceOnUpdate();
|
||||
},
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
:placeholder="props.placeholderText"
|
||||
multiple
|
||||
:value-key="props.valueKey || 'id'"
|
||||
:label-key="props.labelKey"
|
||||
:label-key="props.labelKey || 'name'"
|
||||
:filter-option="false"
|
||||
allow-clear
|
||||
:search-keys="['name']"
|
||||
|
@ -137,6 +137,9 @@
|
|||
if (props.valueKey) {
|
||||
item.id = item[props.valueKey || 'id'] as string;
|
||||
}
|
||||
if (props.labelKey) {
|
||||
item.name = (item[props.labelKey] as string) || '';
|
||||
}
|
||||
});
|
||||
return list;
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
[ExecuteStatusFilters.RUNNING]: {
|
||||
bgColor: 'rgb(var(--link-2))',
|
||||
color: 'rgb(var(--link-5))',
|
||||
text: 'ccommon.running',
|
||||
text: 'common.running',
|
||||
},
|
||||
// [ExecuteStatusFilters.RERUNNING]: {
|
||||
// bgColor: 'rgb(var(--link-2))',
|
||||
|
|
|
@ -110,6 +110,7 @@
|
|||
{{ t('caseManagement.featureCase.storage') }}
|
||||
</MsButton>
|
||||
<SaveAsFilePopover
|
||||
v-if="item.uid === activeTransferFileParams?.uid"
|
||||
v-model:visible="transferVisible"
|
||||
:saving-file="activeTransferFileParams"
|
||||
:file-save-as-source-id="props.detailInfo.id"
|
||||
|
|
|
@ -154,7 +154,7 @@
|
|||
{{ t('ms.upload.preview') }}
|
||||
</MsButton>
|
||||
<SaveAsFilePopover
|
||||
v-if="!props.isTestPlan"
|
||||
v-if="!props.isTestPlan && item.uid === activeTransferFileParams?.uid"
|
||||
v-model:visible="transferVisible"
|
||||
:saving-file="activeTransferFileParams"
|
||||
:file-save-as-source-id="(form.id as string)"
|
||||
|
|
|
@ -255,7 +255,6 @@
|
|||
{{ t('project.menu.configure') }}
|
||||
</span>
|
||||
</template>
|
||||
|
||||
<a-switch
|
||||
v-model="allValueMap['BUG_SYNC_SYNC_ENABLE']"
|
||||
checked-value="true"
|
||||
|
@ -383,7 +382,11 @@
|
|||
/>
|
||||
</template>
|
||||
</MsBaseTable>
|
||||
<DefectSync v-model:visible="defectDrawerVisible" @cancel="defectDrawerVisible = false" @ok="initMenuData()" />
|
||||
<DefectSync
|
||||
v-model:visible="defectDrawerVisible"
|
||||
@cancel="defectDrawerVisible = false"
|
||||
@ok="getMenuConfig(MenuEnum.bugManagement)"
|
||||
/>
|
||||
<RelatedCase
|
||||
v-model:visible="relatedCaseDrawerVisible"
|
||||
@cancel="relatedCaseDrawerVisible = false"
|
||||
|
|
|
@ -471,9 +471,6 @@
|
|||
:deep(.arco-table-content + .arco-scrollbar-track-direction-vertical .arco-scrollbar-thumb-direction-vertical) {
|
||||
height: 0 !important;
|
||||
}
|
||||
:deep(.arco-table-content + .arco-scrollbar-track-direction-horizontal .arco-scrollbar-thumb-direction-horizontal) {
|
||||
width: 0 !important;
|
||||
}
|
||||
:deep(.arco-table-hover) {
|
||||
.arco-table-tr-expand:not(.arco-table-tr-empty):hover {
|
||||
.arco-table-td:not(.arco-table-col-fixed-left):not(.arco-table-col-fixed-right) {
|
||||
|
|
|
@ -134,7 +134,7 @@
|
|||
:upload-image="handleUploadImage"
|
||||
:preview-url="PreviewEditorImageUrl"
|
||||
class="mt-[8px] w-full"
|
||||
:disabled="true"
|
||||
:editable="!!shareId"
|
||||
/></div>
|
||||
|
||||
<div
|
||||
|
@ -443,8 +443,8 @@
|
|||
|
||||
watchEffect(() => {
|
||||
if (props.detailInfo) {
|
||||
// await getDetail();
|
||||
detail.value = cloneDeep(props.detailInfo);
|
||||
richText.value.summary = detail.value.summary;
|
||||
initOptionsData();
|
||||
}
|
||||
});
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
:label="t('apiTestManagement.batchUpdate')"
|
||||
:rules="[{ required: true, message: t('apiTestManagement.valueRequired') }]"
|
||||
asterisk-position="end"
|
||||
:validate-trigger="['blur', 'input']"
|
||||
class="mb-0"
|
||||
required
|
||||
>
|
||||
|
@ -138,7 +139,12 @@
|
|||
function closeHandler() {
|
||||
isVisible.value = false;
|
||||
formRef.value?.resetFields();
|
||||
form.value = { ...initForm };
|
||||
form.value = {
|
||||
selectedAttrsId: '',
|
||||
append: false,
|
||||
tags: [],
|
||||
value: '',
|
||||
};
|
||||
}
|
||||
|
||||
const batchEditLoading = ref(false);
|
||||
|
|
Loading…
Reference in New Issue