ui 优化
This commit is contained in:
1 parent
c0270b7f6a
commit
e7ea27cf6b
8 files changed
+118
-130
No files matched your search
@@ -1,22 +1,22 @@
|
||||
<template id="edit-node">
|
||||
<v-form v-model="isFormValid" ref="dataForm" lazy-validation>
|
||||
<v-row class="px-2" :class="{'pb-7': isMobile}">
|
||||
<v-col cols="12" class=" pb-3">
|
||||
<span class="inputLabel">GUID</span>
|
||||
<v-row>
|
||||
<v-col cols="12">
|
||||
<span class="jh-input-label">GUID</span>
|
||||
<v-text-field class="jh-v-input" dense filled single-line disabled label="GUID" v-model="node.id"></v-text-field>
|
||||
</v-col>
|
||||
<v-col cols="12" class=" pb-3">
|
||||
<span class="inputLabel">名称</span>
|
||||
<v-col cols="12">
|
||||
<span class="jh-input-label">名称</span>
|
||||
<v-text-field class="jh-v-input" dense filled single-line label="名称" v-model="node.label"></v-text-field>
|
||||
</v-col>
|
||||
<v-col cols="12" class=" pb-3">
|
||||
<span class="inputLabel">备注说明</span>
|
||||
<v-col cols="12">
|
||||
<span class="jh-input-label">备注说明</span>
|
||||
<v-text-field class="jh-v-input" dense filled single-line label="备注说明" v-model="node.Remark"></v-text-field>
|
||||
</v-col>
|
||||
<template v-if="!node.id.includes('start-') && !node.id.includes('end-')">
|
||||
|
||||
<v-col cols="12" class=" pb-3">
|
||||
<span class="inputLabel">指派类型</span>
|
||||
<v-col cols="12">
|
||||
<span class="jh-input-label">指派类型</span>
|
||||
|
||||
<v-select
|
||||
:items="assignTypeList"
|
||||
@@ -30,10 +30,10 @@
|
||||
v-model="node.assignType"
|
||||
></v-select>
|
||||
</v-col>
|
||||
<v-col cols="12" class=" pb-3">
|
||||
<span class="inputLabel">指派</span>
|
||||
<v-col cols="12">
|
||||
<span class="jh-input-label">指派</span>
|
||||
<v-autocomplete
|
||||
class="jh-v-input mr-2"
|
||||
class="jh-v-input"
|
||||
dense filled single-line clearable
|
||||
:items="optionList"
|
||||
item-text="text"
|
||||
@@ -44,12 +44,12 @@
|
||||
:disabled="!node.assignType">
|
||||
</v-autocomplete>
|
||||
</v-col>
|
||||
<v-col cols="12" class=" pb-3" v-if="mode == 'serial'">
|
||||
<span class="inputLabel">允许的操作(英文逗号分隔)</span>
|
||||
<v-col cols="12" v-if="mode == 'serial'">
|
||||
<span class="jh-input-label">允许的操作(英文逗号分隔)</span>
|
||||
<v-text-field class="jh-v-input" dense filled single-line label="允许的操作(英文逗号分隔)" v-model="node.lineTypeList"></v-text-field>
|
||||
</v-col>
|
||||
<v-col cols="12" class=" pb-3" >
|
||||
<span class="inputLabel">可写模板</span>
|
||||
<v-col cols="12" >
|
||||
<span class="jh-input-label">可写模板</span>
|
||||
<v-select
|
||||
:items="tpl"
|
||||
dense filled single-line
|
||||
@@ -63,8 +63,8 @@
|
||||
v-model="node.formIdEdit"
|
||||
></v-select>
|
||||
</v-col>
|
||||
<v-col cols="12" class=" pb-3" >
|
||||
<span class="inputLabel">隐藏模板</span>
|
||||
<v-col cols="12" >
|
||||
<span class="jh-input-label">隐藏模板</span>
|
||||
<v-select
|
||||
:items="tpl"
|
||||
dense filled single-line
|
||||
@@ -80,13 +80,13 @@
|
||||
</v-col>
|
||||
</template>
|
||||
<template v-if="node.id.includes('end-')">
|
||||
<v-col cols="12" class=" pb-3">
|
||||
<span class="inputLabel">流程完成Hook</span>
|
||||
<v-text-field class="jh-v-input mr-2" dense filled single-line label="流程完成Hook" v-model="node.finishHook"></v-text-field>
|
||||
<v-col cols="12">
|
||||
<span class="jh-input-label">流程完成Hook</span>
|
||||
<v-text-field class="jh-v-input" dense filled single-line label="流程完成Hook" v-model="node.finishHook"></v-text-field>
|
||||
</v-col>
|
||||
<v-col cols="12" class=" pb-3">
|
||||
<span class="inputLabel">流程中断Hook</span>
|
||||
<v-text-field class="jh-v-input mr-2" dense filled single-line label="流程中断Hook" v-model="node.interruptHook"></v-text-field>
|
||||
<v-col cols="12">
|
||||
<span class="jh-input-label">流程中断Hook</span>
|
||||
<v-text-field class="jh-v-input" dense filled single-line label="流程中断Hook" v-model="node.interruptHook"></v-text-field>
|
||||
</v-col>
|
||||
</template>
|
||||
</v-row>
|
||||
|
||||
Reference in new issue
Block a user