diff --git a/package.json b/package.json
index 222fba4..d17c6a0 100644
--- a/package.json
+++ b/package.json
@@ -23,10 +23,13 @@
"normalize.css": "7.0.0",
"nprogress": "0.2.0",
"path-to-regexp": "2.4.0",
+ "snowflake-id": "^1.1.0",
+ "uuid": "^9.0.0",
"vue": "2.6.10",
"vue-router": "3.0.6",
"vuex": "3.1.0",
- "workflow-ui": "^1.2.3"
+ "workflow-ui": "^1.2.3",
+ "xe-utils": "^3.5.7"
},
"devDependencies": {
"@fortawesome/fontawesome-free": "^6.2.1",
diff --git a/src/api/personnel/post.js b/src/api/personnel/post.js
index ad15067..9343325 100644
--- a/src/api/personnel/post.js
+++ b/src/api/personnel/post.js
@@ -373,4 +373,13 @@ export const getAppointOrg = (data) => {
method: 'post',
data: data
})
+}
+
+//获取行政组织与岗位树
+export const getOrgAndPostThree = (data) => {
+ return request({
+ url: '/org/get_organdpost_three',
+ method: 'post',
+ data: data
+ })
}
\ No newline at end of file
diff --git a/src/api/preload.js b/src/api/preload.js
index 7bb0020..ad183d6 100644
--- a/src/api/preload.js
+++ b/src/api/preload.js
@@ -59,6 +59,7 @@ All.prototype = {
arr.splice(includesIndex, 1);
},
setApproverStr(nodeConfig) {
+ console.log("设置节点框显示内容--》",nodeConfig);
if (nodeConfig.settype == 1) {
if (nodeConfig.nodeUserList.length == 1) {
return nodeConfig.nodeUserList[0].name
@@ -94,6 +95,9 @@ All.prototype = {
return "发起人自己"
} else if (nodeConfig.settype == 7) {
return '从直接主管到通讯录中级别最高的第' + nodeConfig.examineEndDirectorLevel + '个层级主管'
+ } else if (nodeConfig.settype == 8) {
+
+ return '指定审批节点自选'
}
},
dealStr(str, obj) {
diff --git a/src/api/systemaccredit/systemapi.js b/src/api/systemaccredit/systemapi.js
index 9184d8f..50d7786 100644
--- a/src/api/systemaccredit/systemapi.js
+++ b/src/api/systemaccredit/systemapi.js
@@ -442,4 +442,21 @@ export function editNewsonTargetCont(data) {
method: 'post',
data
})
+}
+
+// 判断是否显示(指定审批节点自选)选项及可选节点
+export function judgeOptionalNode(data) {
+ return request({
+ url: '/workflowapi/judge_optional_node',
+ method: 'post',
+ data
+ })
+}
+// 获取所有父级审批节点
+export function getAllParentNode(data) {
+ return request({
+ url: '/workflowapi/get_all_parent_node',
+ method: 'post',
+ data
+ })
}
\ No newline at end of file
diff --git a/src/api/workflowapi/workflowaip.js b/src/api/workflowapi/workflowaip.js
index 1c95822..6def516 100644
--- a/src/api/workflowapi/workflowaip.js
+++ b/src/api/workflowapi/workflowaip.js
@@ -51,7 +51,7 @@ export const getShiyanData = (data) => {
*/
export const getConditions = (data) => {
return request({
- url: '/workflowapi/shiyan_data',
+ url: '/workflowapi/judging_condition',
method: 'post',
data: data
})
diff --git a/src/component_old/Breadcrumb/index.vue b/src/component_old/Breadcrumb/index.vue
new file mode 100644
index 0000000..bb9234c
--- /dev/null
+++ b/src/component_old/Breadcrumb/index.vue
@@ -0,0 +1,78 @@
+
+
+ 全部
+ {{item.departmentName}}
+
+ 天下
+ {{item.departmentName}}
+ 以下内容不完善,需进行修改
+ 发起人的:
+
+ 找不到负责人时,由上级负责人代审批 该审批节点设置“发起人自己”后,审批人默认为发起人 审批终点
+ 发起人的:
+
+ 多人审批时采用的审批方式 审批人为空时 可选节点列表 退回设置 当审批单同时满足以下条件时进入此流程
+
+ {{item1.name}}
+ {{item1.value}}
+
+
+
+
+
+
+ {{item.showName}}
+
+
+ 请选择用来区分审批流程的条件字段
+ 发起人
+ {{item.showName}}
+ {{$func.arrToStr(flowPermission)?$func.arrToStr(flowPermission):'所有人'}} 已选({{total}})
+ 清空
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/selectResult copy.vue b/src/component_old/selectResult copy.vue
similarity index 100%
rename from src/components/selectResult copy.vue
rename to src/component_old/selectResult copy.vue
diff --git a/src/component_old/selectResult.vue b/src/component_old/selectResult.vue
new file mode 100644
index 0000000..9e28c8a
--- /dev/null
+++ b/src/component_old/selectResult.vue
@@ -0,0 +1,103 @@
+
+
+
+
{{item.roleName}}
+
+
{{item.departmentName}}
+
{{item.departmentName}}
+ 下级
+
+
+
+ {{item.employeeName}}
+
+
+
+
+
+
+ {{item.roleName}}
+
+
+ {{item.departmentName}}
+
+
+
+
+ {{item.employeeName}}
+
+