|
@@ -33,7 +33,7 @@ const flowInfo = ref({
|
|
|
processName: '', // 流程定义名称
|
|
|
processIcon: 'approval', // 流程图标
|
|
|
categoryId: '', // 流程组分类ID
|
|
|
- useScope: 0, // 使用范围 0,全员 1,指定人员(业务关联) 2,均不可提交
|
|
|
+ // useScope: 0, // 使用范围 0,全员 1,指定人员(业务关联) 2,均不可提交
|
|
|
processActorList: [
|
|
|
{
|
|
|
actorId: 0, // 参与者ID
|
|
@@ -287,7 +287,7 @@ const chooseIconEv = item => {
|
|
|
|
|
|
// ----- 缓存相关 start ------
|
|
|
const flowBaseInfoWatcher = computed(() => {
|
|
|
- const { processKey, processName, processIcon, categoryId, remark, useScope, processActorList, processPermissionList } = flowInfo.value
|
|
|
+ const { processKey, processName, processIcon, categoryId, remark, processActorList, processPermissionList } = flowInfo.value
|
|
|
// 只关注参数相关的数据变更
|
|
|
const _s = {
|
|
|
processKey, // 流程显示名称
|
|
@@ -295,7 +295,6 @@ const flowBaseInfoWatcher = computed(() => {
|
|
|
processIcon, // 流程图标
|
|
|
categoryId, // 流程组分类ID
|
|
|
remark, // 备注说明
|
|
|
- useScope, // 使用范围 0,全员 1,指定人员(业务关联) 2,均不可提交
|
|
|
processActorList, // 流程参与者,当使用范围为指定人员时候设置
|
|
|
processPermissionList // 流程定义权限
|
|
|
}
|
|
@@ -392,7 +391,7 @@ defineExpose({
|
|
|
<el-option v-for="item in options" :key="item.categoryId" :label="item.categoryName" :value="item.categoryId" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="谁可以发起该流程(不选择,默认全员)" prop="谁可以发起该流程">
|
|
|
+ <el-form-item v-if="false" label="谁可以发起该流程(不选择,默认全员)" prop="谁可以发起该流程">
|
|
|
<div class="add-btn" @click="selectHandle(1, nodeRoleList, 'nodeRoleList')">
|
|
|
<el-icon :size="18"><Plus /></el-icon>
|
|
|
</div>
|
|
@@ -404,7 +403,7 @@ defineExpose({
|
|
|
closable
|
|
|
style="margin-right: 8px"
|
|
|
@close="delRole(index, 'nodeRoleList')"
|
|
|
- >{{ role.name }}</el-tag
|
|
|
+ >{{ role.name }}</el-tag
|
|
|
>
|
|
|
</div>
|
|
|
</el-form-item>
|
|
@@ -420,7 +419,7 @@ defineExpose({
|
|
|
closable
|
|
|
style="margin-right: 8px"
|
|
|
@close="delRole(index, 'nodeRoleManageList')"
|
|
|
- >{{ role.name }}</el-tag
|
|
|
+ >{{ role.name }}</el-tag
|
|
|
>
|
|
|
</div>
|
|
|
</el-form-item>
|