fix: 同步修改缺陷状态
This commit is contained in:
parent
7205c4e952
commit
2bf69c61a4
|
@ -557,7 +557,7 @@ public class IssuesService {
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
issues.setStatus(status);
|
||||
issues.setCustomFields(JSONObject.toJSONString(fields));
|
||||
issuesMapper.updateByPrimaryKeySelective(issues);
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
<span v-for="field in issueTemplate.customFields" :key="field.id">
|
||||
<ms-table-column :field="item" :label="field.name" :prop="field.name" v-if="field.name === '状态'">
|
||||
<template v-slot="scope">
|
||||
<el-dropdown class="test-case-status" @command="statusChange" v-if="scope.row.platform === 'Local'" placement="bottom" trigger="click">
|
||||
<el-dropdown class="test-case-status" @command="statusChange" placement="bottom" trigger="click">
|
||||
<span class="el-dropdown-link">
|
||||
{{getCustomFieldValue(scope.row, field) ? getCustomFieldValue(scope.row, field) : issueStatusMap[scope.row.status]}}
|
||||
</span>
|
||||
|
@ -70,10 +70,6 @@
|
|||
</span>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
<span v-else>
|
||||
{{getCustomFieldValue(scope.row, field) ? getCustomFieldValue(scope.row, field) : issueStatusMap[scope.row.status]}}
|
||||
</span>
|
||||
|
||||
</template>
|
||||
|
||||
</ms-table-column>
|
||||
|
|
Loading…
Reference in New Issue