diff --git a/api/phaseTwo/homePage.js b/api/phaseTwo/homePage.js index f71e52b..8cfeb71 100644 --- a/api/phaseTwo/homePage.js +++ b/api/phaseTwo/homePage.js @@ -8,3 +8,22 @@ export function getHomePageListApi(data) { data: data }) } +// 首页二级页面--作业计划列表 +export function getWorkPlantApi(data) { + return request({ + url: '/bmw/homeSubPage/getAppDayPlanMsg', + method: 'post', + header: { + 'Content-Type': 'application/json' + }, + data: data + }) +} +// 首页二级页面--作业计划列表 +export function getHomePageSelectApi() { + return request({ + url: '/bmw/homePageSelect/getProCondition', + method: 'post', + data: {} + }) +} diff --git a/pages.json b/pages.json index bf93dfd..f7a5753 100644 --- a/pages.json +++ b/pages.json @@ -219,6 +219,13 @@ "navigationStyle": "custom" } }, + { + //首页二级跳转页面 -- 作业计划 + "path": "pages/realName/workPlan/index", + "style": { + "navigationStyle": "custom" + } + }, { //工作台 "path": "pages/realName/workbench/index", diff --git a/pages/realName/index/index.vue b/pages/realName/index/index.vue index ea20a5d..49ce18e 100644 --- a/pages/realName/index/index.vue +++ b/pages/realName/index/index.vue @@ -98,7 +98,7 @@ 今日风险 - + + + + + + + + + + + + 已查询{{ recordsTotal }}条数据 + + + + + + {{ index + 1 }} + {{ item.proName }} + + + {{ item.subComName }} + + 可接受风险:{{ item.kjsfx }} + 低风险:{{ item.dfx }} + 中风险:{{ item.zfx }} + 高风险:{{ item.gfx }} + + + + 作业人数 + {{ item.personNum }} + + + + + + + + +

条件筛选

+

分公司

+ + + + + + {{ item.name }} + + + + + + + + +
+
+
+ + + + + diff --git a/static/realName/screen.png b/static/realName/screen.png new file mode 100644 index 0000000..787f6f5 Binary files /dev/null and b/static/realName/screen.png differ diff --git a/utils/request.js b/utils/request.js index 13c9f63..96e3c9f 100644 --- a/utils/request.js +++ b/utils/request.js @@ -5,7 +5,7 @@ import errorCode from '@/utils/errorCode' import { toast, showConfirm, tansParams } from '@/utils/common' let timeout = 10000 -const baseUrl = config.loginBaseUrl +const baseUrl = config.loginBaseUrl console.log('baseUrl-请求', baseUrl) const request = config => { @@ -21,6 +21,7 @@ const request = config => { url = url.slice(0, -1) config.url = url } + if (config.method === 'post') { config.header = { ...config.header,