diff --git a/pages.json b/pages.json
index 5aa860a..828c22f 100644
--- a/pages.json
+++ b/pages.json
@@ -79,6 +79,17 @@
"navigationBarTitleText": "视频播放"
}
},
+ {
+ "path": "pages/apply/jobList",
+ "style": {
+ "navigationBarTitleText": "岗位风险"
+ }
+ }, {
+ "path": "pages/apply/jobRiskShow",
+ "style": {
+ "navigationBarTitleText": "岗位风险"
+ }
+ },
{
"path": "pages/apply/complete",
"style": {
diff --git a/pages/apply/index.vue b/pages/apply/index.vue
index 4621e50..31a4d3d 100644
--- a/pages/apply/index.vue
+++ b/pages/apply/index.vue
@@ -9,6 +9,9 @@
基本信息填写
+
+
+
@@ -128,11 +131,15 @@
},
},
radio: '',
- switchVal: false
+ switchVal: false,
+ decodedStr:'',
}
},
onLoad(option) {
+ if(option.sysName){
+ this.decodedStr = this.decodeBase64(option.sysName).replace(/^-/, '');;
+ }
// this.model.ID = option.ID
// this.model.TaskID = option.taskID
// this.TaskID = option.taskID
diff --git a/pages/apply/jobList.vue b/pages/apply/jobList.vue
new file mode 100644
index 0000000..04f0ef2
--- /dev/null
+++ b/pages/apply/jobList.vue
@@ -0,0 +1,560 @@
+
+
+
+
+
+
+
+ *
+
+
+ 筛选条件
+
+
+
+
+
+
+
+
+
+
+
+ *
+
+
+ 岗位风险清单
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.RISK_NAME?index+1+'.风险名称:'+item.RISK_NAME:index+1+'.风险名称:'}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 生成岗位告知卡
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/apply/jobRiskShow.vue b/pages/apply/jobRiskShow.vue
new file mode 100644
index 0000000..aaa572c
--- /dev/null
+++ b/pages/apply/jobRiskShow.vue
@@ -0,0 +1,152 @@
+
+
+
+
+
+
+
+ *
+
+
+ {{detailData.postName}}岗位安全风险告知卡
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ photo.NAME }}
+
+
+
+ 暂无安全标志图片
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/index/index.vue b/pages/index/index.vue
index e70e1c4..0a65cd3 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -2,26 +2,21 @@
-
-
-
+
+
+
-
+
{{baseListItem.name}}
-
@@ -148,6 +143,8 @@
urlTo += '&RISK_AREA_ID=' + this.RISK_AREA_ID
if (this.DEPARTMENT_ID && this.DEPARTMENT_ID != undefined && this.DEPARTMENT_ID.length > 1)
urlTo += '&DEPARTMENT_ID=' + this.DEPARTMENT_ID
+ if (this.POST_ID && this.POST_ID != undefined && this.POST_ID.length > 1)
+ urlTo += '&POST_ID=' + this.POST_ID
uni.navigateTo({
url: urlTo
diff --git a/services/apply.js b/services/apply.js
index 5ef770c..ec17266 100644
--- a/services/apply.js
+++ b/services/apply.js
@@ -87,4 +87,14 @@ export const PagedDangerJob = (params) => {
method: 'post',
data: params,
})
+}
+
+//危险作业查看
+export const GetPostRiskList = (params) => {
+ params.isAll=true
+ return request.send({
+ url: '/BI/H5Controller/GetPostRiskList',
+ method: 'post',
+ data: params,
+ })
}
\ No newline at end of file
diff --git a/services/common.js b/services/common.js
index 76c81cf..1859022 100644
--- a/services/common.js
+++ b/services/common.js
@@ -35,4 +35,32 @@ export const AreaEntities = (params) => {
method: 'post',
data: params,
})
+}
+//辨识部门
+export const DepartOrderPaged = (params) => {
+ params.isAll=true
+ return request.send({
+ url: '/BI/H5Controller/DepartOrderPaged',
+ method: 'post',
+ data: params,
+ })
+}
+//辨识岗位
+export const PostOrderPaged = (params) => {
+ params.isAll=true
+ return request.send({
+ url: '/BI/H5Controller/PostOrderPaged',
+ method: 'post',
+ data: params,
+ })
+}
+
+//辨识岗位
+export const getEnum = (params) => {
+ // params.isAll=true
+ return request.send({
+ url: '/PF/Extend/GetEnum',
+ method: 'get',
+ data: params,
+ })
}
\ No newline at end of file
diff --git a/style/css/newTemplate.css b/style/css/newTemplate.css
new file mode 100644
index 0000000..328bfaf
--- /dev/null
+++ b/style/css/newTemplate.css
@@ -0,0 +1,152 @@
+/* .todo-page>>>.u-steps-item__line {
+ width: 187.6px !important;
+ } */
+/* 进度条步骤少于3 */
+.page-wrap {
+ padding-bottom: 150px;
+}
+.allview {
+ padding: 0px 0px 180px 0px;
+}
+
+.video {
+ padding: 16px 16px 10px;
+}
+
+.background {
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background: #edf1fd;
+ z-index: -1;
+}
+
+.richtext {
+ font-size: 14px;
+}
+
+.card {
+ margin: 20px 16px 140px 16px;
+ /* border: 1px solid #EBEEF5; */
+ padding: 20px 30px 80px 30px;
+ /* box-shadow: rgba(0, 0, 0, 0.08) 0px 0px 3px 1px; */
+ background-color: #ffffff;
+ border-radius: 10px;
+}
+
+.upload-title {
+ font-size: 14px;
+ color: #8e8b9c;
+ line-height: 22px;
+ padding: 8px 0px;
+}
+
+.demo-ruleForm>>>.u-form-item__body__left__content__label {
+ font-size: 14px;
+ color: #8e8b9c;
+ /* justify-content: flex-start; */
+}
+
+.demo-ruleForm>>>.u-form-item__body__left__content__ {
+ left: -11px;
+ top: 0px
+}
+
+.demo-ruleForm>>>.u-textarea__field {
+ font-size: 14px;
+}
+
+.demo-ruleForm>>>.u-cell__title-text {
+ font-size: 14px;
+}
+
+.check-p>>>.u-form-item__body__right__content__slot {
+ justify-content: flex-end;
+}
+
+.bottom-button {
+ position: fixed;
+ bottom: 0;
+ left: 0;
+ width: 100%;
+ padding: 10px 16px;
+ box-sizing: border-box;
+ background: #edf1fd;
+ z-index: 999;
+}
+
+.sub-form>>>.u-form-item__body__left__content__label {
+ font-size: 14px;
+ /* justify-content: flex-start; */
+}
+
+.sub-form>>>.u-textarea__field {
+ font-size: 14px;
+}
+
+.sub-form>>>.u-cell__title-text {
+ font-size: 14px;
+}
+
+.uni-collapse-item {
+ box-sizing: border-box;
+
+}
+
+.sub-form>>>.uni-collapse-item__title {
+ display: flex;
+ width: 100%;
+ box-sizing: border-box;
+ flex-direction: row;
+ align-items: center;
+ transition: border-bottom-color .3s;
+ border-bottom: 1px solid #ebeef5;
+}
+
+.sub-form>>>.uni-collapse-item__title-wrap {
+ /* width: 100%; */
+ flex: 1;
+}
+.sub-form>>>.uni-collapse-item__title-box {
+ padding: 0px;
+}
+
+.uni-collapse-item__title-box {
+ padding: 0px;
+ display: flex;
+ width: 100%;
+ box-sizing: border-box;
+ flex-direction: row;
+ justify-content: space-between;
+ align-items: center;
+ height: 48px;
+ line-height: 48px;
+ background-color: #fff;
+ color: #303133;
+ font-size: 13px;
+ font-weight: 500;
+ cursor: pointer;
+ outline: none;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ flex: 1;
+
+}
+
+.uni-collapse-item__title-text {
+ flex: 1;
+ font-size: 14px;
+ white-space: nowrap;
+ color: inherit;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+.right-align {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: end;
+ flex: 1;
+}
\ No newline at end of file