diff --git a/api/shengchan.js b/api/shengchan.js index ee98ee2..f401953 100644 --- a/api/shengchan.js +++ b/api/shengchan.js @@ -2,7 +2,7 @@ import { https } from '@/utils/http.js'; -export function queryJinriShengchansj(params) { // 获取今日生产数据 +export function queryJinriShengchansj(params) { // 获取今日天然气生产数据 return https({ url: '/scdt.CxcScdtChart/cxcScdtChart/list', method: 'get', @@ -10,10 +10,18 @@ export function queryJinriShengchansj(params) { // 获取今日生产数据 }) } -export function queryYearShengchansj(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 9eb8931..a9290f3 100644 --- a/pages.json +++ b/pages.json @@ -168,7 +168,7 @@ } }, { - "path": "pages/product/index", + "path": "pages/views/shengchan/index", "style": { "navigationStyle": "custom" // "navigationBarTitleText": "生产数据", diff --git a/pages/tab/product.vue b/pages/tab/product.vue index 9e5ffc4..9abd31e 100644 --- a/pages/tab/product.vue +++ b/pages/tab/product.vue @@ -6,27 +6,27 @@ + font-size: 24rpx; + color: #ffffff; + position: fixed; + top: 0; + left: 0; + z-index: 99; + background-image: url('../../static/my/navbg.png'); + background-repeat: no-repeat; + background-size: 750rpx 458rpx; + } + \ No newline at end of file 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