diff --git a/api/api.js b/api/api.js index 78f16d0..1b6caa5 100644 --- a/api/api.js +++ b/api/api.js @@ -9,4 +9,17 @@ export const setRefreshToken = (params) => post("/sys/refreshToken", params ); / export const setEntryV1 = (params) => post("/app/sys/user/entry", params ); // 入职 export const resignV1 = (params) => post("/app/sys/user/resign", params ); // 离职 export const getStudentInfoApi = (params) => post("/app/student/getStudentInfo", params ); // 获取学员信息 +export const getHiddenList = (params) => post("/app/hidden/list", params); // 隐患列表 +export const getHiddenInfo = (params) => post("/app/hidden/goEdit", params); // 隐患信息 +export const setFileDelete = (params) => post("/app/imgfiles/delete", params); // 删除图片 +export const getPersonnelList = (params) => post("/app/sys/listUser", params); // 人员 +export const setHiddenNuRectificationSubmit = (params) => + post("/app/hiddenexamine/special", params); +export const setHiddenRectificationSubmit = (params) => + post("/app/hidden/rectify", params); // 隐患整改提交 +export const fileUpload = (params) => upload("/app/file/upload", params); + + + + diff --git a/components/department/department.vue b/components/department/department.vue new file mode 100644 index 0000000..2624d50 --- /dev/null +++ b/components/department/department.vue @@ -0,0 +1,68 @@ + + + + + diff --git a/components/department/index.vue b/components/department/index.vue new file mode 100644 index 0000000..1e8277f --- /dev/null +++ b/components/department/index.vue @@ -0,0 +1,105 @@ + + + + + diff --git a/components/hidden_view/index.vue b/components/hidden_view/index.vue new file mode 100644 index 0000000..dd52b65 --- /dev/null +++ b/components/hidden_view/index.vue @@ -0,0 +1,329 @@ + + + + + diff --git a/components/personnel/index.vue b/components/personnel/index.vue new file mode 100644 index 0000000..8026684 --- /dev/null +++ b/components/personnel/index.vue @@ -0,0 +1,137 @@ + + + + + diff --git a/components/preview_image/index.vue b/components/preview_image/index.vue new file mode 100644 index 0000000..a423486 --- /dev/null +++ b/components/preview_image/index.vue @@ -0,0 +1,43 @@ + + + + + diff --git a/components/time/index.vue b/components/time/index.vue new file mode 100644 index 0000000..e015ba6 --- /dev/null +++ b/components/time/index.vue @@ -0,0 +1,95 @@ + + + + + diff --git a/components/upload/index.vue b/components/upload/index.vue new file mode 100644 index 0000000..a064d3f --- /dev/null +++ b/components/upload/index.vue @@ -0,0 +1,128 @@ + + + + + diff --git a/pages.json b/pages.json index 3723cdc..162292c 100644 --- a/pages.json +++ b/pages.json @@ -423,6 +423,18 @@ "style": { "navigationBarTitleText": "开始考试" } + }, + { + "path": "pages/hidden_rectification/index", + "style": { + "navigationBarTitleText": "隐患整改" + } + }, + { + "path": "pages/hidden_rectification/rectification", + "style": { + "navigationBarTitleText": "隐患整改" + } } ], "globalStyle": { diff --git a/pages/hidden_rectification/index.vue b/pages/hidden_rectification/index.vue new file mode 100644 index 0000000..9c71dcb --- /dev/null +++ b/pages/hidden_rectification/index.vue @@ -0,0 +1,126 @@ + + + + + diff --git a/pages/hidden_rectification/rectification.vue b/pages/hidden_rectification/rectification.vue new file mode 100644 index 0000000..6661eb8 --- /dev/null +++ b/pages/hidden_rectification/rectification.vue @@ -0,0 +1,507 @@ + + + + + diff --git a/pages/index/index.vue b/pages/index/index.vue index a1c3757..559a1dd 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -89,6 +89,11 @@ img: require('../../static/icon-apps/app_icons8.png'), title: '培训管理', url: '/pages/train_management/index' + }, + { + img: require('../../static/icon-apps/app_icons9.png'), + title: '隐患整改', + url: '/pages/hidden_rectification/index' } ], classInfo: null, diff --git a/static/icon-apps/app_icons9.png b/static/icon-apps/app_icons9.png new file mode 100644 index 0000000..ebf98ee Binary files /dev/null and b/static/icon-apps/app_icons9.png differ diff --git a/styles/theme.scss b/styles/theme.scss index 0c44630..397b4e5 100644 --- a/styles/theme.scss +++ b/styles/theme.scss @@ -96,6 +96,12 @@ justify-content: flex-end; } +.flex-start { + display: flex; + align-items: center; + justify-content: flex-start; +} + .flex-warp { display: flex; flex-direction: row; @@ -128,3 +134,28 @@ font-weight: normal; } } + +.u-form-item__body__right__content__slot { + position: relative; + + .u-radio-group--row { + justify-content: flex-end; + gap: 20rpx; + } + + .flex-start { + .u-radio-group--row { + justify-content: flex-start; + } + } + + .select_content { + flex: 1; + display: flex; + align-items: center; + } +} + +.u-form-item__body__right__message { + margin-bottom: 10rpx; +}