From be35580a816f0462ec2b7377b70de70544222ad3 Mon Sep 17 00:00:00 2001 From: LiuJiaNan Date: Fri, 23 May 2025 14:37:33 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E6=82=A3=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/api.js | 13 + components/department/department.vue | 68 +++ components/department/index.vue | 105 ++++ components/hidden_view/index.vue | 329 ++++++++++++ components/personnel/index.vue | 137 +++++ components/preview_image/index.vue | 43 ++ components/time/index.vue | 95 ++++ components/upload/index.vue | 128 +++++ pages.json | 12 + pages/hidden_rectification/index.vue | 126 +++++ pages/hidden_rectification/rectification.vue | 507 +++++++++++++++++++ pages/index/index.vue | 5 + static/icon-apps/app_icons9.png | Bin 0 -> 5686 bytes styles/theme.scss | 31 ++ 14 files changed, 1599 insertions(+) create mode 100644 components/department/department.vue create mode 100644 components/department/index.vue create mode 100644 components/hidden_view/index.vue create mode 100644 components/personnel/index.vue create mode 100644 components/preview_image/index.vue create mode 100644 components/time/index.vue create mode 100644 components/upload/index.vue create mode 100644 pages/hidden_rectification/index.vue create mode 100644 pages/hidden_rectification/rectification.vue create mode 100644 static/icon-apps/app_icons9.png 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 0000000000000000000000000000000000000000..ebf98ee752872391f6070c901ba1ddd9fe1d69f4 GIT binary patch literal 5686 zcmaJ_c{r49+aF}#m#B>FOO_ckqp^gngF?1a_KCsR1~ZH$8bp#*_ADVp7_wx^nl(F- zJwvi&&oZ{~>3N^$eZN26@4N5gzOVB-kMnn)zjL{c<38>uMus}f43`)H006U|u9nH! z>hb5Hqd9xGTZ$c>Ef;axcX6f|M;spMjRL4UVD6&?^xTn7C=(RY!QZPBr3?U2iJ{Hz z;_e#gE7@b*LC8NgAU}7{Gc*98eBI9zY43`{3EW3Hp*>WDHfkG%1kesDLgrTuWDPtu zQO;=H0B@9OfT5XvfUCWtgV1$V0cAg>GY9S{98$o~-OU55LKMKV3SbCK1_D=-lU0I3 z1^&K-&Z2ocI4YTFA^whawo?&u#^F4bz+gNc55mJh7;h&qL{U)@EDHrgp)zL{GFX2P z9MVt511tQG2Q3uV-W%gwB}$D+PB?1A~7%_Q3vKsI!uR{g9qu z2uK#}?*1pQzpSx16V!ib{8wwNnZG9rY=XjKe7xA*&z{g=)anVNeZ4ge*i;;UBD?2Ns9) zut)uaMgIq@@&96#G`&$s9LC!WgK_((dq&O}90u!*@f6V1{L?K(0SR-ohXV$Wz4E8L zf3rn-qkT~h2ycwLz+d%ILjM;IP<2hHtUMg9t)LBuK(rC+Pz|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>GQVa<18Mwbr)i}nx+yw;Xdck)HRRNL&zp*mDq5L)N3W7>5|zdotk z(}gZac16Ga^M}`&r*7!8#?(~YVRQZsxiHu`P+Me}(Eoer-W3&hyP5b@Jv@rs+t6eN6Y_W!ZxP7^w6gVMkt^8?fj)xwUjI~|CmzvAg)d0MO60)y z#Ww>lKTaVFqjZ^4JwH=SM1)w%;}F!&?-YXhPJU~y%At>gr#?wRL$#}(9)rnFrKdnS zvTLW3aR`e05+gNe_^2+FS_7Z~xX&sQD1Y*SzbaUCAv0Z~_vb6_+K`{quDjLh=Iqu@ zK4+gpPxouE`-jq?{RG;09&U+{gVVlG-3-(q4z+Qrdc^_8L5p_iJM}xDSR?>um(OFJ9V|;R8*HTl+5x|}8eRJq`(>5j3V~Iu{7Fa}8$Z~tH=UtBX>S|Kb z)pTsxRQBwG1;qobR7=~%>YpaeX5s-Y$`DY|5}PJwo=@(*0c|n3Rp4{xhE_jj`mKUa zrSW^XO7&;ia<(LDLOgvnQp$HILhM2)Z>3;0k~j41t`z!k%3}vGHLIYz!ajTc&!1d9 MZ9}bM4ZG0)0dXLHK>z>% literal 0 HcmV?d00001 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; +}