From f7c5a3a2ac1320a25b771063972325b0998733ae Mon Sep 17 00:00:00 2001 From: gongdi <410827992@qq.com> Date: Mon, 21 Feb 2022 17:52:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=8B=E6=B5=A6=E5=AD=A6=E6=A0=A1=20?= =?UTF-8?q?=E5=BE=85=E5=8A=9E=E5=B7=A5=E4=BD=9C=E9=98=B6=E6=AE=B5=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../adminCenter/moduleAndLaySettingConfig.js | 2 +- .../moduleCom/oa/allDocument/allDocument.vue | 171 ++++++++++++ .../oa/allDocument/allDocumentLarge.vue | 175 ++++++++++++ .../oa/documentToDo/documentInfo.vue | 254 ++++++++++++++++-- .../moduleCom/oa/documentToDo/fileModal.vue | 98 +++++++ .../moduleCom/oa/documentToDo/interConfig.js | 108 ++++++-- .../oa/myDocument/myDocumentLarge.vue | 175 +++++++++++- 7 files changed, 940 insertions(+), 43 deletions(-) create mode 100644 src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/allDocument/allDocument.vue create mode 100644 src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/allDocument/allDocumentLarge.vue create mode 100644 src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/documentToDo/fileModal.vue diff --git a/src/views/screenAdaptation/pages/adminCenter/moduleAndLaySettingConfig.js b/src/views/screenAdaptation/pages/adminCenter/moduleAndLaySettingConfig.js index 1a9fc6e..4a8b7c6 100644 --- a/src/views/screenAdaptation/pages/adminCenter/moduleAndLaySettingConfig.js +++ b/src/views/screenAdaptation/pages/adminCenter/moduleAndLaySettingConfig.js @@ -56,7 +56,7 @@ export const moduleData=[ purview_code:"hbg_xzgwby",menu_name:['sendRecord'],show_oneLevel:true}, {module_id:'all_official_documents', module_name:'全部公文', relative_crm:['officialDocument','processSearch'],icon:"icon-quanbugongwen", - module_url_small:'',module_url_large:'', + module_url_small:'oa/allDocument/allDocument.vue',module_url_large:'oa/allDocument/allDocumentLarge.vue', purview_code:"hbg_xzgwby", menu_name:['processSearch'],show_oneLevel:true}, {module_id:'plan_query', module_name:'计划查询', relative_crm:['daliyOffice','newPlanConclusion','work_plan'],icon:"icon-jihuachaxun", diff --git a/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/allDocument/allDocument.vue b/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/allDocument/allDocument.vue new file mode 100644 index 0000000..97f02ac --- /dev/null +++ b/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/allDocument/allDocument.vue @@ -0,0 +1,171 @@ + + + \ No newline at end of file diff --git a/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/allDocument/allDocumentLarge.vue b/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/allDocument/allDocumentLarge.vue new file mode 100644 index 0000000..81ce799 --- /dev/null +++ b/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/allDocument/allDocumentLarge.vue @@ -0,0 +1,175 @@ + + + \ No newline at end of file diff --git a/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/documentToDo/documentInfo.vue b/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/documentToDo/documentInfo.vue index 453f5b2..0f4a355 100644 --- a/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/documentToDo/documentInfo.vue +++ b/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/documentToDo/documentInfo.vue @@ -32,6 +32,29 @@ +
+ +
+ {{document.run_status === 1 ? '挂起' : (document.run_status === 4 ? '恢复' : '挂起')}} +
+ +
+ {{document.run_status === 2 ? '唤醒' : (document.run_status === 1 ? '结束' : '结束')}} +
+ +
+ 废除 +
+
+ 删除 +
+
+ 归档 +
+
+ 同步 +
+
@@ -43,19 +66,29 @@ okText="确定" @ok="handleOk" @cancel="handleCancel"> - 您确定要删除该公文吗? + +
{{modalTitle}}
+ + 是否删除所有已办数据 + + + 归档是指将公文状态变更为归档,待办公文不可继续办理 + + @@ -218,6 +409,7 @@ background-color: #f2f2f2; margin-bottom: 0.5rem; padding-right: 0.5rem; + position: relative; .icon-div { width: 4rem; height: 4rem; @@ -282,6 +474,7 @@ justify-content: center; align-items: center; opacity: 0.8; + flex-wrap: nowrap; .button-span { height: 100%; cursor: pointer; @@ -292,6 +485,33 @@ align-items: center; padding: 0.5rem; } + + } + + } + .more-button-style { + position: absolute; + right: 0; + top: 5rem; + width: 90px; + height: 20px; + display: flex; + flex-direction: column; + z-index: 1000; + .button-style { + width: 100%; + padding: 5px; + margin-top: 2px; + background-color: #31a8fa; + color: white; + text-align: center; + span { + cursor: pointer; + } + } + .disable-style { + background-color: #cccccc; + cursor: auto; } } } diff --git a/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/documentToDo/fileModal.vue b/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/documentToDo/fileModal.vue new file mode 100644 index 0000000..1442e07 --- /dev/null +++ b/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/documentToDo/fileModal.vue @@ -0,0 +1,98 @@ + + + \ No newline at end of file diff --git a/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/documentToDo/interConfig.js b/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/documentToDo/interConfig.js index 33976c8..ad68b78 100644 --- a/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/documentToDo/interConfig.js +++ b/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/documentToDo/interConfig.js @@ -2,33 +2,105 @@ export default { /* * 流程分类列表(无分页) * */ - "categoryNoPageList":{ - url:'/intellioa/flow/category/noPageList', - method:'get', - isTestLogin:true + "categoryNoPageList": { + url: '/intellioa/flow/category/noPageList', + method: 'get', + isTestLogin: true }, /* * 待办列表 * */ - "list_by_handle_flag":{ - url:'/intellioa/flow/run/list_by_handle_flag', - method:'get', - isTestLogin:true + "list_by_handle_flag": { + url: '/intellioa/flow/run/list_by_handle_flag', + method: 'get', + isTestLogin: true }, /* - * 我的公文列表 - * */ - "my_list":{ - url:'/intellioa/flow/run/my_list', - method:'get', - isTestLogin:true + * 我的公文列表 + * */ + "my_list": { + url: '/intellioa/flow/run/my_list', + method: 'get', + isTestLogin: true + }, + /* + * 全部公文列表 + * */ + "all_list": { + url: '/intellioa/flow/run/list', + method: 'get', + isTestLogin: true }, /* * 删除公文 * */ - "delete":{ - url:'/intellioa/flow/run/delete', - method:'post', - isTestLogin:true + "delete": { + url: '/intellioa/flow/run/delete', + method: 'post', + isTestLogin: true + }, + /* + * 挂起 + * */ + "hangRun": { + url: '/intellioa/flow/run/hangRun', + method: 'post', + isTestLogin: true }, + /* + * 恢复 + * */ + "recoverRun": { + url: '/intellioa/flow/run/recoverRun', + method: 'post', + isTestLogin: true + }, + /* + * 结束 + * */ + "stop": { + url: '/intellioa/flow/run/stop', + method: 'post', + isTestLogin: true + }, + /* + * 唤醒 + * */ + "wakeUp": { + url: '/intellioa/flow/run/wakeUp', + method: 'post', + isTestLogin: true + }, + /* + * 废除 + * */ + "abrogateRun": { + url: '/intellioa/flow/run/abrogateRun', + method: 'post', + isTestLogin: true + }, + /* + * 归档 + * */ + "onlyFile": { + url: '/intellioa/flow/run/onlyFile', + method: 'post', + isTestLogin: true + }, + /* + * 同步文档列表 + * */ + "allOrgFile": { + url: '/intellioa/filePermission/allOrgFile', + method: 'get', + isTestLogin: true + }, + /* + * 同步文档 + * */ + "fileAttachment": { + url: '/intellioa/flow/run/fileAttachment', + method: 'post', + isTestLogin: true + } } diff --git a/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/myDocument/myDocumentLarge.vue b/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/myDocument/myDocumentLarge.vue index b4ab9bd..596ed81 100644 --- a/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/myDocument/myDocumentLarge.vue +++ b/src/views/screenAdaptation/pages/adminCenter/moduleCom/oa/myDocument/myDocumentLarge.vue @@ -1,17 +1,178 @@ - - - \ No newline at end of file + \ No newline at end of file