更新版本-参照 jinnang-v1
This commit is contained in:
1 parent
0ace3ac506
commit
c9c16e9d26
17 files changed
+2675
-1144
No files matched your search
@@ -22,7 +22,7 @@
|
||||
<v-row class="px-2" :class="{'pb-7': isMobile}">
|
||||
<v-col cols="12" class=" pb-3">
|
||||
<span class="inputLabel">GUID</span>
|
||||
<v-text-field class="cus-v-input" dense filled single-line label="GUID" v-model="node.id"></v-text-field>
|
||||
<v-text-field class="cus-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>
|
||||
@@ -32,80 +32,82 @@
|
||||
<span class="inputLabel">备注说明</span>
|
||||
<v-text-field class="cus-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-select
|
||||
:items="assignTypeList"
|
||||
dense filled single-line
|
||||
item-text="text"
|
||||
color="success"
|
||||
item-color="success"
|
||||
item-value="value"
|
||||
class="cus-v-input"
|
||||
label="指派类型"
|
||||
v-model="node.assignType"
|
||||
></v-select>
|
||||
</v-col>
|
||||
<v-col cols="12" class=" pb-3">
|
||||
<span class="inputLabel">指派</span>
|
||||
<v-select
|
||||
:items="optionList"
|
||||
color="success"
|
||||
item-color="success"
|
||||
dense filled single-line
|
||||
item-text="text"
|
||||
item-value="value"
|
||||
class="cus-v-input"
|
||||
:label="assignType"
|
||||
:multiple="node.assignType === 'person'"
|
||||
v-model="node.assignValue"
|
||||
:disabled="!node.assignType"
|
||||
></v-select>
|
||||
</v-col>
|
||||
<v-col cols="12" class=" pb-3">
|
||||
<span class="inputLabel">允许的操作(英文逗号分隔)</span>
|
||||
<!-- <v-textarea
|
||||
filled single-line
|
||||
name="input-7-4"
|
||||
label="允许的操作"
|
||||
value=""
|
||||
rows="3"
|
||||
hide-details
|
||||
></v-textarea> -->
|
||||
<v-text-field class="cus-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-select
|
||||
:items="tpl"
|
||||
dense filled single-line
|
||||
item-text="text"
|
||||
color="success"
|
||||
item-color="success"
|
||||
item-value="value"
|
||||
class="cus-v-input"
|
||||
label="可写模板"
|
||||
multiple
|
||||
v-model="node.formId"
|
||||
></v-select>
|
||||
</v-col>
|
||||
<v-col cols="12" class=" pb-3">
|
||||
<span class="inputLabel">隐藏模板</span>
|
||||
<v-select
|
||||
:items="tpl"
|
||||
dense filled single-line
|
||||
item-text="text"
|
||||
item-value="value"
|
||||
color="success"
|
||||
item-color="success"
|
||||
class="cus-v-input"
|
||||
label="隐藏模板"
|
||||
multiple
|
||||
v-model="node.formIdHidden"
|
||||
></v-select>
|
||||
</v-col>
|
||||
<!-- <v-col cols="12" class=" pb-3">
|
||||
<span class="inputLabel">指派类型</span>
|
||||
|
||||
<v-select
|
||||
:items="assignTypeList"
|
||||
dense filled single-line
|
||||
item-text="text"
|
||||
color="success"
|
||||
item-color="success"
|
||||
item-value="value"
|
||||
class="cus-v-input"
|
||||
label="指派类型"
|
||||
v-model="node.assignType"
|
||||
></v-select>
|
||||
</v-col>
|
||||
<v-col cols="12" class=" pb-3">
|
||||
<span class="inputLabel">指派</span>
|
||||
<v-select
|
||||
:items="optionList"
|
||||
color="success"
|
||||
item-color="success"
|
||||
dense filled single-line
|
||||
item-text="text"
|
||||
item-value="value"
|
||||
class="cus-v-input"
|
||||
:label="assignType"
|
||||
:multiple="node.assignType === 'person'"
|
||||
v-model="node.assignValue"
|
||||
:disabled="!node.assignType"
|
||||
></v-select>
|
||||
</v-col> -->
|
||||
<v-col cols="12" class=" pb-3" >
|
||||
<span class="inputLabel">允许的操作(英文逗号分隔)</span>
|
||||
<!-- <v-textarea
|
||||
filled single-line
|
||||
name="input-7-4"
|
||||
label="允许的操作"
|
||||
value=""
|
||||
rows="3"
|
||||
hide-details
|
||||
></v-textarea> -->
|
||||
<v-text-field class="cus-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-select
|
||||
:items="tpl"
|
||||
dense filled single-line
|
||||
item-text="text"
|
||||
color="success"
|
||||
item-color="success"
|
||||
item-value="value"
|
||||
class="cus-v-input"
|
||||
label="可写模板"
|
||||
multiple
|
||||
v-model="node.formId"
|
||||
></v-select>
|
||||
</v-col>
|
||||
<v-col cols="12" class=" pb-3" >
|
||||
<span class="inputLabel">隐藏模板</span>
|
||||
<v-select
|
||||
:items="tpl"
|
||||
dense filled single-line
|
||||
item-text="text"
|
||||
item-value="value"
|
||||
color="success"
|
||||
item-color="success"
|
||||
class="cus-v-input"
|
||||
label="隐藏模板"
|
||||
multiple
|
||||
v-model="node.formIdHidden"
|
||||
></v-select>
|
||||
</v-col>
|
||||
</template>
|
||||
</v-row>
|
||||
</template>
|
||||
|
||||
@@ -137,7 +139,9 @@
|
||||
data() {
|
||||
return {
|
||||
isFormValid: true,
|
||||
node: {},
|
||||
node: {
|
||||
id: ''
|
||||
},
|
||||
typeList: [
|
||||
{ Value: 'start', Text: '起点' },
|
||||
{ Value: 'end', Text: '终点' },
|
||||
@@ -175,11 +179,6 @@
|
||||
methods: {
|
||||
init(data, node) {
|
||||
this.node = node;
|
||||
// data.nodeList.filter((node) => {
|
||||
// if (node.id === id) {
|
||||
// this.node = node;
|
||||
// }
|
||||
// })
|
||||
},
|
||||
getOptionList() {
|
||||
if (!this.node.assignType) {
|
||||
|
||||
Reference in new issue
Block a user