diff --git a/api/pages.js b/api/pages.js new file mode 100644 index 0000000..eb755bb --- /dev/null +++ b/api/pages.js @@ -0,0 +1,39 @@ +import { + https +} from '@/utils/http.js'; + +export function qjAddApi(config) { // 发起请假流程申请 + return https({ + url: '/CxcQxj/cxcQxj/add', + method: 'post', + data: config + }) +} + +export function queryZwmcAndExaApi(username) { // 根据username获取职位名称和审批领导列表 + return https({ + url: '/CxcQxj/cxcQxj/queryZwmcByUsername', + method: 'get', + data: { + username + } + }) +} + +export function qjQueryByIdApi(config) { // 通过id查询请假数据 流程用 + return https({ + url: '/CxcQxj/cxcQxj/queryById', + method: 'get', + data: config + }) +} + +export function queryHisDateApi(username) { // 根据username获取最新请假结束日期 + return https({ + url: '/CxcQxj/cxcQxj/queryHisDate', + method: 'get', + data: { + username + } + }) +} \ No newline at end of file diff --git a/api/shengchan.js b/api/shengchan.js index ffff675..f401953 100644 --- a/api/shengchan.js +++ b/api/shengchan.js @@ -2,10 +2,26 @@ import { https } from '@/utils/http.js'; -export function queryJinriShengchansj(orgCode) { // 获取今日生产数据 +export function queryJinriShengchansj(params) { // 获取今日天然气生产数据 return https({ url: '/scdt.CxcScdtChart/cxcScdtChart/list', method: 'get', - data: orgCode + data: params + }) +} + +export function queryYearShengchansj(params) { // 获取今年以来天然气的生产数据 + return https({ + url: '/scdt.CxcScdtChart/cxcScdtChart/getYearStatis', + method: 'get', + data: params + }) +} + +export function queryJinriYuanyouShengchansj(params) { // 获取今日原油 污油产量 + return https({ + url: '/scdt.cxcscdtwyrb/cxcScdtWyRb/list', + method: 'get', + data: params }) } \ No newline at end of file diff --git a/pages.json b/pages.json index 0092067..a9290f3 100644 --- a/pages.json +++ b/pages.json @@ -168,11 +168,12 @@ } }, { - "path": "pages/product/index", + "path": "pages/views/shengchan/index", "style": { - "navigationBarTitleText": "生产数据", - "enablePullDownRefresh": false, - "navigationBarTextStyle": "white" + "navigationStyle": "custom" + // "navigationBarTitleText": "生产数据", + // "enablePullDownRefresh": false, + // "navigationBarTextStyle": "white" } }, { @@ -281,7 +282,7 @@ "text": "生产", "pagePath": "pages/tab/product", "iconPath": "/static/tab/product.png", - "selectedIconPath": "/static/tab/product1.png" + "selectedIconPath": "/static/tab/product2.png" }, { "text": "办公", diff --git a/pages/leave/application.vue b/pages/leave/application.vue new file mode 100644 index 0000000..97aa9ce --- /dev/null +++ b/pages/leave/application.vue @@ -0,0 +1,385 @@ + + + + + + \ No newline at end of file diff --git a/pages/product/index.vue b/pages/product/index.vue deleted file mode 100644 index 33539f0..0000000 --- a/pages/product/index.vue +++ /dev/null @@ -1,234 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/tab/product.vue b/pages/tab/product.vue index 210ca30..9abd31e 100644 --- a/pages/tab/product.vue +++ b/pages/tab/product.vue @@ -1,18 +1,32 @@ - \ No newline at end of file diff --git a/pages/views/renliziyuan/renyuanxinxi/detail.vue b/pages/views/renliziyuan/renyuanxinxi/detail.vue index 9eb210d..b25ba8c 100644 --- a/pages/views/renliziyuan/renyuanxinxi/detail.vue +++ b/pages/views/renliziyuan/renyuanxinxi/detail.vue @@ -7,8 +7,7 @@ - + @@ -65,12 +64,12 @@ - + {{ item.kssj }} - + {{ item.jssj }} @@ -240,389 +239,370 @@ - \ No newline at end of file +.img { + height: 154px; + border: 1px solid #ccc; + /* 仅用于展示容器范围,可根据需要移除 */ + display: flex; + justify-content: center; + /* 水平居中 */ + align-items: center; + /* 垂直居中 */ + overflow: hidden; + /* 防止图片溢出容器 */ +} + diff --git a/pages/views/shengchan/index.vue b/pages/views/shengchan/index.vue new file mode 100644 index 0000000..16a5d57 --- /dev/null +++ b/pages/views/shengchan/index.vue @@ -0,0 +1,52 @@ + + + + + \ No newline at end of file diff --git a/pages/views/shengchan/ribaoshuju/trqRbsj.vue b/pages/views/shengchan/ribaoshuju/trqRbsj.vue new file mode 100644 index 0000000..345c1e9 --- /dev/null +++ b/pages/views/shengchan/ribaoshuju/trqRbsj.vue @@ -0,0 +1,448 @@ + + + + + \ No newline at end of file diff --git a/pages/views/shengchan/ribaoshuju/yyRbsj.vue b/pages/views/shengchan/ribaoshuju/yyRbsj.vue new file mode 100644 index 0000000..eea775c --- /dev/null +++ b/pages/views/shengchan/ribaoshuju/yyRbsj.vue @@ -0,0 +1,326 @@ + + + + + \ No newline at end of file diff --git a/static/office/absence.png b/static/office/absence.png new file mode 100644 index 0000000..b8e5686 Binary files /dev/null and b/static/office/absence.png differ diff --git a/static/tab/product2.png b/static/tab/product2.png new file mode 100644 index 0000000..c72f828 Binary files /dev/null and b/static/tab/product2.png differ