|
@@ -180,6 +180,19 @@ const props = defineProps({
|
|
type: [String, Number, Array, Object],
|
|
type: [String, Number, Array, Object],
|
|
default: '',
|
|
default: '',
|
|
},
|
|
},
|
|
|
|
+ classifyType: {
|
|
|
|
+ type: [String, Number],
|
|
|
|
+ default: '',
|
|
|
|
+ },
|
|
|
|
+ tableOwner: {
|
|
|
|
+ type: [String, Number],
|
|
|
|
+ default: '',
|
|
|
|
+ },
|
|
|
|
+ nodeId: {
|
|
|
|
+ type: [String, Number],
|
|
|
|
+ default: '',
|
|
|
|
+ },
|
|
|
|
+
|
|
})
|
|
})
|
|
|
|
|
|
//事件
|
|
//事件
|
|
@@ -193,6 +206,9 @@ const projectId = ref(props.projectId)
|
|
const contractId = ref(props.contractId)
|
|
const contractId = ref(props.contractId)
|
|
const isTypes = ref(props.type)
|
|
const isTypes = ref(props.type)
|
|
const typeDatas = ref(props.typeData)
|
|
const typeDatas = ref(props.typeData)
|
|
|
|
+const classifyType = ref(props.classifyType)
|
|
|
|
+const tableOwner = ref(props.tableOwner)
|
|
|
|
+const nodeId = ref(props.nodeId)
|
|
|
|
|
|
//树数据
|
|
//树数据
|
|
const ElTreeProps = { children: 'childRoleList', label: 'roleName' }
|
|
const ElTreeProps = { children: 'childRoleList', label: 'roleName' }
|
|
@@ -210,12 +226,18 @@ watch(() => [
|
|
props.contractId,
|
|
props.contractId,
|
|
props.type,
|
|
props.type,
|
|
props.typeData,
|
|
props.typeData,
|
|
-], ([users, pid, cid, type, data]) => {
|
|
|
|
|
|
+ props.classifyType,
|
|
|
|
+ props.tableOwner,
|
|
|
|
+ props.nodeId,
|
|
|
|
+], ([users, pid, cid, type, data, cla, tab, noid]) => {
|
|
projectId.value = pid
|
|
projectId.value = pid
|
|
contractId.value = cid
|
|
contractId.value = cid
|
|
isTypes.value = type
|
|
isTypes.value = type
|
|
typeDatas.value = data
|
|
typeDatas.value = data
|
|
setUserDataList(users)
|
|
setUserDataList(users)
|
|
|
|
+ classifyType.value = cla
|
|
|
|
+ tableOwner.value = tab
|
|
|
|
+ nodeId.value = noid
|
|
})
|
|
})
|
|
|
|
|
|
//渲染完成
|
|
//渲染完成
|
|
@@ -367,6 +389,9 @@ const getCheckCustomFlowUserIsEVisaPermissions = async (flowJson, newUser, newUs
|
|
contractId: contractId.value,
|
|
contractId: contractId.value,
|
|
customFlowUserList: newUserId,
|
|
customFlowUserList: newUserId,
|
|
...flowJson,
|
|
...flowJson,
|
|
|
|
+ classifyType:classifyType.value,
|
|
|
|
+ tableOwner:tableOwner.value,
|
|
|
|
+
|
|
})
|
|
})
|
|
//处理数据
|
|
//处理数据
|
|
sureSignUserLoading.value = false
|
|
sureSignUserLoading.value = false
|
|
@@ -384,6 +409,9 @@ const getCheckCustomFlowUserIsEVisaPermissionsquery = async (flowJson, newUser,
|
|
contractId: contractId.value,
|
|
contractId: contractId.value,
|
|
customFlowUserList: newUserId,
|
|
customFlowUserList: newUserId,
|
|
...flowJson,
|
|
...flowJson,
|
|
|
|
+ nodeId:nodeId.value,
|
|
|
|
+ classifyType:classifyType.value,
|
|
|
|
+ tableOwner:tableOwner.value,
|
|
})
|
|
})
|
|
//处理数据
|
|
//处理数据
|
|
sureSignUserLoading.value = false
|
|
sureSignUserLoading.value = false
|