diff --git a/src/api/pages/absence/index.ts b/src/api/pages/absence/index.ts
new file mode 100644
index 0000000..cb24ea9
--- /dev/null
+++ b/src/api/pages/absence/index.ts
@@ -0,0 +1,32 @@
+import { http } from '@/utils/http';
+
+/*根据username获取职位名称和审批领导列表*/
+export function queryZwmcAndExaApi(username : string) {
+ return http({
+ url: '/CxcQxj/cxcQxj/queryZwmcByUsername',
+ method: 'GET',
+ data: {
+ username
+ }
+ })
+}
+
+/*新增请假申请*/
+export function addApi(config : Object) {
+ return http({
+ url: '/CxcQxj/cxcQxj/add',
+ method: 'POST',
+ data: config
+ })
+}
+
+/*根据username获取最新请假结束日期*/
+export function queryHisDateApi(username : string) {
+ return http({
+ url: '/CxcQxj/cxcQxj/queryHisDate',
+ method: 'GET',
+ data: {
+ username
+ }
+ })
+}
\ No newline at end of file
diff --git a/src/api/pages/duty/index.ts b/src/api/pages/duty/index.ts
new file mode 100644
index 0000000..0d3029a
--- /dev/null
+++ b/src/api/pages/duty/index.ts
@@ -0,0 +1,9 @@
+import { http } from '@/utils/http';
+
+export function getListApi(config : Object) { // 值班按月查看
+ return http({
+ url: '/zhgl_zbgl/zhglZbglZbb/list',
+ method: 'GET',
+ data: config
+ })
+}
\ No newline at end of file
diff --git a/src/api/pages/file/index.ts b/src/api/pages/file/index.ts
index bd4c1ac..ebf1571 100644
--- a/src/api/pages/file/index.ts
+++ b/src/api/pages/file/index.ts
@@ -1,6 +1,6 @@
import { http } from '@/utils/http';
-export function queryDocumentApi(config) { // 公文列表
+export function queryDocumentApi(config : Object) { // 公文列表
return http({
url: '/cxcoagwfb/cxcOaGwfb/bpmlist',
method: 'GET',
@@ -8,7 +8,7 @@ export function queryDocumentApi(config) { // 公文列表
})
}
-export function queryNoticeApi(config) { // 公告
+export function queryNoticeApi(config : Object) { // 公告
return http({
url: '/cxctz/cxcTz/list',
method: 'GET',
@@ -16,7 +16,7 @@ export function queryNoticeApi(config) { // 公告
})
}
-export function querySuperiorSystemApi(config) { // 上级制度
+export function querySuperiorSystemApi(config : Object) { // 上级制度
return http({
url: '/cxcjyglsjzdgl/cxcJyglSjzdgl/zslist',
method: 'GET',
@@ -24,7 +24,7 @@ export function querySuperiorSystemApi(config) { // 上级制度
})
}
-export function queryFactorySystemApi(config) { // 厂级制度
+export function queryFactorySystemApi(config : Object) { // 厂级制度
return http({
url: '/cxczd/cxcZdgl/list',
method: 'GET',
@@ -32,7 +32,7 @@ export function queryFactorySystemApi(config) { // 厂级制度
})
}
-export function queryRegulationsApi(config) { // 法律法规
+export function queryRegulationsApi(config : Object) { // 法律法规
return http({
url: '/cxcoaflgf/cxcOaFlgf/zslist',
method: 'GET',
diff --git a/src/api/pages/sc/index.ts b/src/api/pages/sc/index.ts
index 800d6e4..0f6c53a 100644
--- a/src/api/pages/sc/index.ts
+++ b/src/api/pages/sc/index.ts
@@ -8,7 +8,7 @@ export function getListApi(orgCode : string) {
})
}
-export function getJobDesIdByDepAndName(config) {
+export function getJobDesIdByDepAndName(config : Object) {
return http({
url: '/sjgl.tynr/cxcSjJobdescription/queryByNameDep',
method: 'GET',
@@ -16,7 +16,7 @@ export function getJobDesIdByDepAndName(config) {
})
}
-export function getPathByInsflagQuote(config) {
+export function getPathByInsflagQuote(config : Object) {
return http({
url: '/sjgl.scnr/cxcSjSc/getPathByInsflagQuote',
method: 'GET',
diff --git a/src/api/process/index.ts b/src/api/process/index.ts
index 300b8c4..724bcfa 100644
--- a/src/api/process/index.ts
+++ b/src/api/process/index.ts
@@ -1,21 +1,16 @@
import { http } from '@/utils/http';
-export function getListApi(orgCode : string) {
- return http({
- url: '/sjgl.scnr/cxcSjSc/queryTreeData',
- method: 'GET',
- data: { orgCode }
- })
-}
-
-export function taskListApi(config : Object) { // 我的任务列表
+/*我的任务列表*/
+export function taskListApi(config : Object) {
return http({
url: '/act/task/list',
method: 'GET',
data: config
})
}
-export function taskHistoryListApi(config : Object) { // 我的历史任务列表
+
+/*历史任务列表*/
+export function taskHistoryListApi(config : Object) {
return http({
url: '/act/task/taskHistoryList',
method: 'GET',
@@ -23,7 +18,8 @@ export function taskHistoryListApi(config : Object) { // 我的历史任务列
})
}
-export function claim(config : Object) {
+/*签收*/
+export function claim(config : Object) {
return http({
url: '/act/task/claim',
method: 'PUT',
@@ -31,6 +27,14 @@ export function claim(config : Object) {
})
}
+/*发起流程*/
+export function startMutilProcessApi(config : Object) { // 发起流程
+ return http({
+ url: '/process/extActProcess/startMutilProcess',
+ method: 'POST',
+ data: config
+ })
+}
export function getProcessNodeInfo(config : Object) { // 获取节点信息
return http({
url: '/process/extActProcessNode/getProcessNodeInfo',
diff --git a/src/api/system/index.ts b/src/api/system/index.ts
index 208c86a..290795c 100644
--- a/src/api/system/index.ts
+++ b/src/api/system/index.ts
@@ -65,4 +65,17 @@ export function queryCarouselApi(config) {
method: 'GET',
data: config
});
+}
+
+/**
+ * 获取分类字典
+ */
+export function getCategoryItemsApi(pid) { // 分类字典专用
+ return http({
+ url: '/sys/category/findtree',
+ method: 'GET',
+ data: {
+ pid
+ }
+ })
}
\ No newline at end of file
diff --git a/src/components/PageLayout/PageLayout.vue b/src/components/PageLayout/PageLayout.vue
index 9ba8f11..ab20453 100644
--- a/src/components/PageLayout/PageLayout.vue
+++ b/src/components/PageLayout/PageLayout.vue
@@ -1,193 +1,191 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .pageLayout {
+ display: flex;
+ flex-direction: column;
+ height: 100vh;
+ width: 100vw;
+
+ .pageNav {
+ background-image: linear-gradient(45deg, #0081ff, #1cbbb4);
+
+ &.transparent {
+ background-image: none;
+ }
+
+ &.fixed {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ }
+
+ .statusBar {
+ width: 100%;
+ height: 0;
+ }
+
+ :deep(.wd-navbar) {
+ background-color: transparent;
+ --wot-navbar-title-font-weight: 400;
+ --wot-navbar-arrow-size: 18px;
+ --wot-navbar-desc-font-size: 14px;
+ --wot-navbar-title-font-size: 16px;
+ }
+ }
+
+ .pageContent {
+ flex: 1;
+ overflow: hidden;
+ display: flex;
+ flex-direction: column;
+ background-color: #f1f1f1;
+ }
+
+ .tabbar {
+ /* #ifdef H5 */
+ height: var(--window-bottom);
+ /* #endif */
+ }
+ }
+
\ No newline at end of file
diff --git a/src/pages-user/userEdit/userEdit.vue b/src/pages-user/userEdit/userEdit.vue
index dc8319d..ad67aea 100644
--- a/src/pages-user/userEdit/userEdit.vue
+++ b/src/pages-user/userEdit/userEdit.vue
@@ -9,33 +9,30 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index de11bc5..47aa909 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -8,7 +8,7 @@
}
-
+
diff --git a/src/pages/integrated/duty/index.vue b/src/pages/integrated/duty/index.vue
new file mode 100644
index 0000000..ee30400
--- /dev/null
+++ b/src/pages/integrated/duty/index.vue
@@ -0,0 +1,57 @@
+
+ {
+ layout: 'default',
+ style: {
+ navigationStyle: 'custom',
+ navigationBarTitleText: '干部值班',
+ },
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/login/login.vue b/src/pages/login/login.vue
index 53ab088..f048c0c 100644
--- a/src/pages/login/login.vue
+++ b/src/pages/login/login.vue
@@ -10,7 +10,7 @@
-
+
@@ -53,7 +53,6 @@