Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 前端问题修复 #1473

Merged
merged 1 commit into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ author: 蓝鲸智云
category: 办公应用
introduction: 流程服务是蓝鲸推出的轻量级ITSM,通过可自定义设计的流程模块,覆盖IT服务中的不同管理活动或应用场景。帮助企业用户规范内部管理流程,提升沟通及管理效率。
introduction_en: bk_itsm is a lightweight ITSM created by Blueking. It covers different application scenarios in IT services through customizable workflows and help enterprise users to implement standardize IT workflow, improve communication and management efficiency.
version: 2.7.3
version: 2.7.4
language: python
is_use_celery: True
is_use_celery_with_gevent: False
Expand Down
2 changes: 1 addition & 1 deletion app_desc.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
spec_version: 2
app_version: "2.7.3"
app_version: "2.7.4"
app:
region: default
bk_app_code: bk_itsm
Expand Down
5 changes: 5 additions & 0 deletions docs/RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Changelog
## [Version: 2.7.4] - 2025-02-18
【优化】移除链接字段旁边的预览入口
【修复】修复单据详情页接口重复调用问题
【修复】修复线条配置条件关系表单字段校验问题

## [Version: 2.7.3] - 2024-11-25
【新增】meta上下文管理功能,应用于快速审批、MOA和通知过滤
【修复】API请求节点POST参数编辑渲染问题
Expand Down
5 changes: 5 additions & 0 deletions docs/RELEASE_EN.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Changelog
## [Version: 2.7.4] - 2025-02-18
【Improved】Remove the preview entry next to the link field.
【Fix】Fixed the issue of duplicate API calls on the document details page.
【Fix】Fixed the issue with form field validation in the line configuration condition relationship.

## [Version: 2.7.3] - 2024-11-25
【Feature】Add meta context management, applied to fast approval, MOA, and notification receivers filter.
【Fix】API request node POST parameter editing rendering issue.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@
import commonMix from '../../../commonMix/common.js';
import commonTriggerList from '../../taskTemplate/components/commonTriggerList';
import { errorHandler } from '../../../../utils/errorHandler';
import { isEmpty } from '@/utils/util';

export default {
components: {
Expand Down Expand Up @@ -580,7 +581,7 @@
submitLine() {
if (this.lineInfo.condition_type === 'by_field') {
this.lineInfo.expressions.forEach((item) => {
item.checkInfo = item.expressions.some(node => (!node.condition || !node.key || (Array.isArray(node.value) ? !node.value.length : !node.value)));
item.checkInfo = item.expressions.some(node => (isEmpty(node.condition) || isEmpty(node.key) || isEmpty(node.value)));
});
const checkStatus = this.lineInfo.expressions.some(item => item.checkInfo);
if (checkStatus) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@
import apiFieldsWatch from '@/views/commonMix/api_fields_watch.js';
import commonMix from '@/views/commonMix/common.js';
import commonTriggerList from '@/views/processManagement/taskTemplate/components/commonTriggerList';
import { isEmpty } from '@/utils/util';
import { errorHandler } from '@/utils/errorHandler';

export default {
Expand Down Expand Up @@ -592,7 +593,7 @@
submitLine() {
if (this.lineInfo.condition_type === 'by_field') {
this.lineInfo.expressions.forEach((item) => {
item.checkInfo = item.expressions.some(node => (!node.condition || !node.key || (Array.isArray(node.value) ? !node.value.length : !node.value)));
item.checkInfo = item.expressions.some(node => (isEmpty(node.condition) || isEmpty(node.key) || isEmpty(node.value)));
});
const checkStatus = this.lineInfo.expressions.some(item => item.checkInfo);
if (checkStatus) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
<span class="bk-li-left" :title="item.name">{{item.name}}:</span>
<span class="bk-li-right bk-li-right-link">
<span class="bk-pot-after bk-li-link" :title="item.value" @click="goToLink(item.value)">{{ item.value }}</span>
<i class="bk-itsm-icon commonicon-icon icon-itsm-icon-three link-view" @click="openLickInIframe(item)"></i>
<!-- <i class="bk-itsm-icon commonicon-icon icon-itsm-icon-three link-view" @click="openLickInIframe(item)"></i> -->
<i class="bk-itsm-icon commonicon-icon icon-itsm-icon-copy link-copy" v-bk-copy="item.value"></i>
</span>
</div>
Expand Down
2 changes: 0 additions & 2 deletions frontend/pc/src/views/ticket/details/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,6 @@
query: Object.assign({}, this.$route.query, { step_id: stepIdList.toString() }),
});
}
} else {
this.initData();
}
},
immediate: true,
Expand Down
Loading