|
@@ -15,6 +15,7 @@
|
|
<el-option v-for="item in actionRuleOption" :key="item.value" :label="item.label" :value="item.value" />
|
|
<el-option v-for="item in actionRuleOption" :key="item.value" :label="item.label" :value="item.value" />
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+ <el-form-item label="指定指派表达式" v-show="formData.actionRule == FlowCheckDynamicJudge"> </el-form-item>
|
|
<el-form-item
|
|
<el-form-item
|
|
label="指定上级部门"
|
|
label="指定上级部门"
|
|
v-show="formData.actionRule === FlowCheckRuleFormCreatorDeptPrev || formData.actionRule === FlowCheckRuleFormCreatorDeptLeaderPrev"
|
|
v-show="formData.actionRule === FlowCheckRuleFormCreatorDeptPrev || formData.actionRule === FlowCheckRuleFormCreatorDeptLeaderPrev"
|
|
@@ -145,6 +146,7 @@ import LogicFlow from '@logicflow/core'
|
|
import { computed, getCurrentInstance, onMounted, reactive, ref, toRefs } from 'vue'
|
|
import { computed, getCurrentInstance, onMounted, reactive, ref, toRefs } from 'vue'
|
|
import Branch from '/@/components/gFlow/propertySetting/branch.vue'
|
|
import Branch from '/@/components/gFlow/propertySetting/branch.vue'
|
|
import {
|
|
import {
|
|
|
|
+ FlowCheckDynamicJudge,
|
|
FlowCheckRuleAll,
|
|
FlowCheckRuleAll,
|
|
FlowCheckRuleDept,
|
|
FlowCheckRuleDept,
|
|
FlowCheckRuleDeptLeader,
|
|
FlowCheckRuleDeptLeader,
|
|
@@ -230,6 +232,10 @@ const state = reactive({
|
|
value: FlowCheckRuleUser,
|
|
value: FlowCheckRuleUser,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
|
|
+ label: '动态指派',
|
|
|
|
+ value: FlowCheckDynamicJudge,
|
|
|
|
+ },
|
|
|
|
+ {
|
|
label: '指定岗位',
|
|
label: '指定岗位',
|
|
value: FlowCheckRulePost,
|
|
value: FlowCheckRulePost,
|
|
},
|
|
},
|
|
@@ -301,6 +307,7 @@ const state = reactive({
|
|
body: undefined,
|
|
body: undefined,
|
|
headers: undefined,
|
|
headers: undefined,
|
|
},
|
|
},
|
|
|
|
+ dynamicJudge: undefined,
|
|
},
|
|
},
|
|
})
|
|
})
|
|
const { formData, deptData, roleList, postList, actionRuleOption, approveRuleOption, conditionRuleOption, httpMethodOptions } = toRefs(state)
|
|
const { formData, deptData, roleList, postList, actionRuleOption, approveRuleOption, conditionRuleOption, httpMethodOptions } = toRefs(state)
|