diff --git a/src/common/lang/workCenter/zh.js b/src/common/lang/workCenter/zh.js
index b991531c..0380d595 100644
--- a/src/common/lang/workCenter/zh.js
+++ b/src/common/lang/workCenter/zh.js
@@ -234,6 +234,7 @@ module.exports = {
flowChart: '流程图',
taskNode: '任务节点',
taskHandler: '任务受理人',
+ taskHandlerDept: '任务受理人组织机构',
completionTime: '完成时间',
timeConsuming: '耗时',
approvalOpinion: '审批意见',
diff --git a/src/components/ProcessDetailList.vue b/src/components/ProcessDetailList.vue
index 8687a278..35e1a639 100644
--- a/src/components/ProcessDetailList.vue
+++ b/src/components/ProcessDetailList.vue
@@ -8,16 +8,55 @@
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -114,6 +153,7 @@ import { filterObj } from '../utils/util'
import { kkFilePreview } from '../utils/kkFilePreview'
import { urgeProcessNode } from '../api/workCenter'
import { ProcessKey } from '../enums/commonEnums'
+import { queryDepartTreeList } from '../api/api'
// 支持预览的文件后缀
const CAN_PREVIEW_FILE_SUFFIX = ['jpg', 'jpeg', 'png', 'pdf', 'doc', 'docx', 'xls', 'xlsx', 'ppt', 'pptx']
@@ -267,10 +307,25 @@ export default {
imageUrl: null,
/* 排序参数 */
// 后端需要去掉
- isorter: null
+ isorter: null,
+ toggleSearchStatus: false,
+ categoryTreeList: [] // 组织机构下拉框数据
}
},
+ mounted () {
+ this.getSysCategoryTree()
+ },
methods: {
+ // 获取组织机构树
+ getSysCategoryTree () {
+ queryDepartTreeList().then((res) => {
+ if (res.success) {
+ this.categoryTreeList = res.result
+ } else {
+ this.categoryTreeList = []
+ }
+ })
+ },
loadData (arg) {
if (!this.url.list) {
this.$message.warning('请设置url.list属性!')
@@ -347,6 +402,9 @@ export default {
fileLook (record) {
this.$refs.uploadFile.open(record.commitFile)
},
+ handleToggleSearch () {
+ this.toggleSearchStatus = !this.toggleSearchStatus
+ },
/**
* 催办
*/