Skip to content

Commit 017fb70

Browse files
committed
Merge branch 'feature-sprint2' of https://10.30.90.89:39999/luban/dataspherestudio into feature-sprint2
2 parents dedb83f + 1c8c21a commit 017fb70

File tree

11 files changed

+42
-44
lines changed

11 files changed

+42
-44
lines changed

web/src/apps/workflows/assets/styles/workflow.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@
131131
}
132132
&-icon {
133133
cursor: pointer;
134+
font-size: 16px;
134135
}
135136
}
136137
&-b {

web/src/apps/workflows/components/vue-process/shapeView.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<input v-model="searchValue" :placeholder="$t('message.workflow.vueProcess.search')" class="shape-search">
1010
<div v-for="(shape, index) in search" :key="index" :class="{ 'top': index==0 }" class="shape-container">
1111
<div :class="{open: shape.show}" class="shape-title" @click="toggleTitle(shape)">
12-
<SvgIcon v-show="!shape.show" class="icon" icon-class="close" verticalAlign="0px" />
13-
<SvgIcon v-show="shape.show" class="icon" icon-class="open" verticalAlign="0px" />
12+
<SvgIcon v-show="!shape.show" class="icon" icon-class="close" verticalAlign="0px" style="opacity: 0.65;"/>
13+
<SvgIcon v-show="shape.show" class="icon" icon-class="open" verticalAlign="0px" style="opacity: 0.65;"/>
1414
{{ shape.title }}
1515
</div>
1616
<div v-show="shape.show" v-if="shape.children && shape.children.length>0" class="shape-content">

web/src/apps/workflows/components/vue-process/style/index.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ $mask-color: rgba(55, 55, 55, .6);
9595
height: 36px;
9696
padding-left: 10px;
9797
@include bg-color($background-color-base, $dark-workflow-bg-color);
98-
border: 1px solid $border-color-base;
98+
border-bottom: 1px solid $border-color-base;
9999
@include border-color($border-color-base, $dark-base-color);
100100

101101
.icon {
@@ -180,7 +180,7 @@ $mask-color: rgba(55, 55, 55, .6);
180180
height: 36px;
181181
align-items: center;
182182
justify-content: space-between;
183-
border-top: 1px solid #DEE4EC;
183+
// border-top: 1px solid #DEE4EC;
184184
border-bottom: 1px solid #DEE4EC;
185185
@include border-color(#DEE4EC, $dark-base-color);
186186
.head-title {
@@ -208,7 +208,7 @@ $mask-color: rgba(55, 55, 55, .6);
208208

209209
.shape-container {
210210
margin-top: 1px;
211-
border-bottom: 1px solid $border-color-split;
211+
// border-bottom: 1px solid $border-color-split;
212212
@include border-color($border-color-split, $dark-workflow-bg-color);
213213

214214
&.top {
@@ -249,7 +249,8 @@ $mask-color: rgba(55, 55, 55, .6);
249249
.shape-box {
250250
display: flex;
251251
align-items: center;
252-
margin: 10px 0;
252+
height: 34px;
253+
line-height: 34px;
253254
padding: 0 10px 0 20px;
254255
cursor: pointer;
255256
&:hover {

web/src/apps/workflows/i18n/common/zh.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
"publishPermissions": "发布权限",
179179
"userAllowedPublish": "请选择可发布用户",
180180
"devProcess": "开发流程",
181-
"orchestratorMode": "编排模式",
181+
"orchestratorMode": "工作流模式",
182182
"GZL": "工作流",
183183
"HZXM": "合作项目",
184184
"projectName": "项目名称",
@@ -516,9 +516,9 @@
516516
"orchestratorPublish": "编排发布",
517517
"publishLoading": "已有编排在发布,稍后再试",
518518
"modeifyOrchestrator": "修改编排",
519-
"orchestratorName": "编排名称",
519+
"orchestratorName": "工作流名称",
520520
"allowedProject": "所属项目",
521-
"orchestratorMode": "编排模式",
521+
"orchestratorMode": "工作流模式",
522522
"orchestratorMethod": "编排方式",
523523
"FailedOpenOrchestrator": "打开编排失败",
524524
"noEditPermission": "没有编辑权限",

web/src/apps/workflows/module/common/tabList/index.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,20 +153,20 @@
153153
padding: 0 10px;
154154
overflow: hidden;
155155
margin-right: 8px;
156-
background: #e1e5ea;
156+
@include bg-color( #E1E5EA, $dark-workspace-body-bg-color);
157157
border-radius: 12px;
158158
&.active {
159159
height: 24px;
160160
@include font-color($primary-color, $dark-primary-color);
161161
line-height: 24px;
162-
background: #e1e5ea;
162+
@include bg-color(#E8EEF4, $dark-workspace-body-bg-color);
163163
border-radius: 12px;
164164
}
165165
&:hover {
166166
height: 24px;
167167
@include font-color($primary-color, $dark-primary-color);
168168
line-height: 24px;
169-
background: #d1d7dd;
170169
border-radius: 12px;
170+
@include bg-color(#D1D7DD, $dark-workspace-body-bg-color);
171171
}
172172
}

web/src/apps/workflows/module/common/tabList/tabs.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<Icon
1111
v-show="isHover"
1212
class="close-icon"
13-
size="18"
13+
size="12"
1414
type="md-close"
1515
@click.stop="remove"
1616
/>

web/src/apps/workflows/module/process/component/nodeparameter.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</FormItem>
2929
</Form>
3030
<div v-if="currentNodeParamsBaseinfoList.length > 0" class="node-module-param-modal-header">
31-
<h3>{{$t('message.workflow.process.nodeParameter.SXXX')}}</h3>
31+
<h5>{{$t('message.workflow.process.nodeParameter.SXXX')}}</h5>
3232
</div>
3333
<Form v-if="currentNodeParamsBaseinfoList.length > 0 && currentNode.jobParams" label-position="top"
3434
ref="parameterForm" class="node-parameter-bar" :model="currentNode">

web/src/apps/workflows/module/process/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
@include font-color($light-text-color, $dark-text-color);
136136
&:hover {
137137
// background-color: #ccc;
138-
@include bg-color(#ccc, $dark-active-menu-item);
138+
// @include bg-color(#ccc, $dark-active-menu-item);
139139
}
140140
}
141141
}

web/src/apps/workflows/module/process/module.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
v-clickoutside="handleOutsideClick"
137137
v-show="isParamModalShow">
138138
<div class="process-module-param-modal-header">
139-
<h3>{{ isResourceShow ? $t('message.workflow.process.resource') : isDispatch ? $t('message.workflow.process.schedule') : $t('message.workflow.process.params') }}{{$t('message.workflow.process.seting')}}</h3>
139+
<h5>{{ isResourceShow ? $t('message.workflow.process.resource') : isDispatch ? $t('message.workflow.process.schedule') : $t('message.workflow.process.params') }}{{$t('message.workflow.process.seting')}}</h5>
140140
</div>
141141
<div class="process-module-param-modal-content">
142142
<argument
@@ -158,7 +158,7 @@
158158
v-show="nodebaseinfoShow"
159159
@click="clickBaseInfo">
160160
<div class="process-module-param-modal-header">
161-
<h3>{{$t('message.workflow.process.baseInfo')}}</h3>
161+
<h5>{{$t('message.workflow.process.baseInfo')}}</h5>
162162
<div v-if="!myReadonly" class="save-button">
163163
<Button size="small" @click.stop="saveNodeParameter"
164164
:disabled="false">{{$t('message.workflow.process.nodeParameter.BC')}}

web/src/apps/workflows/module/workflow/index.vue

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -126,19 +126,17 @@
126126
></publishComponent>
127127
</Modal>
128128
<!--新增和导入 二合一弹窗-->
129-
<Modal v-model="mergeModalShow" :footer-hide="true">
130-
<Tabs value="form">
131-
<Tab-pane label="新建编排" name="form">
132-
<WorkflowFormNew
133-
v-if="mergeModalShow"
134-
:workflow-data="currentOrchetratorData"
135-
:orchestratorModeList="orchestratorModeList"
136-
:selectOrchestratorList="selectOrchestratorList"
137-
:projectNameList="formatProjectNameList"
138-
@cancel="ProjectMergeCancel"
139-
@confirm="ProjectMergeConfirm"
140-
></WorkflowFormNew>
141-
</Tab-pane>
129+
<Modal v-model="mergeModalShow" :footer-hide="true" title="添加工作流">
130+
<WorkflowFormNew
131+
v-if="mergeModalShow"
132+
:workflow-data="currentOrchetratorData"
133+
:orchestratorModeList="orchestratorModeList"
134+
:selectOrchestratorList="selectOrchestratorList"
135+
:projectNameList="formatProjectNameList"
136+
@cancel="ProjectMergeCancel"
137+
@confirm="ProjectMergeConfirm"
138+
>
139+
</WorkflowFormNew>
142140
<!-- <Tab-pane label="导入编排" name="upload">
143141
<Upload
144142
ref="uploadJson"
@@ -159,7 +157,6 @@
159157
</div>
160158
</Upload>
161159
</Tab-pane> -->
162-
</Tabs>
163160
</Modal>
164161
<Spin v-if="loading" size="large" fix />
165162
</div>

0 commit comments

Comments
 (0)