diff --git a/src/pages-operate/sc/index.vue b/src/pages-operate/sc/index.vue
index 2628dc1..3780e7e 100644
--- a/src/pages-operate/sc/index.vue
+++ b/src/pages-operate/sc/index.vue
@@ -12,7 +12,8 @@
-
+
@@ -76,11 +77,13 @@
let insFlag = res.result.insFlag
if (url) {
if (isH5()) {
- fileUrl.value = 'https://szcx.zyyt.sinopec.com/preview/onlinePreview?url=' + encodeURIComponent(
- Base64.encode(baseUrl + url))
+ fileUrl.value = 'https://szcx.zyyt.sinopec.com/preview/onlinePreview?url=' +
+ encodeURIComponent(
+ Base64.encode(baseUrl + url))
} else {
- fileUrl.value = 'https://szcx.zyyt.sinopec.com/preview/onlinePreview?url=' + encodeURIComponent(
- new base64().encode(baseUrl + url))
+ fileUrl.value = 'https://szcx.zyyt.sinopec.com/preview/onlinePreview?url=' +
+ encodeURIComponent(
+ new base64().encode(baseUrl + url))
}
} else if (/^-?\d+$/.test(quote) && !insFlag) {
getJobDesIdByDepAndName(quote).then((res) => {
diff --git a/src/pages-production/shishishuju/index.vue b/src/pages-production/shishishuju/index.vue
index 1882717..3a5bffb 100644
--- a/src/pages-production/shishishuju/index.vue
+++ b/src/pages-production/shishishuju/index.vue
@@ -26,6 +26,12 @@
查看详情
+
+ 井口压力实时数据
+
+ 查看详情
+
+
各站场可燃气体报警仪实时数据
@@ -64,6 +70,12 @@
})
}
+ function gotoJkYlSssj() {
+ uni.navigateTo({
+ url: '/pages-production/shishishuju/jkYtYali'
+ })
+ }
+
function gotoKrqtbjSssj() {
uni.navigateTo({
url: '/pages-production/shishishuju/krqtSssj'
diff --git a/src/pages-production/shishishuju/jkYtYali.vue b/src/pages-production/shishishuju/jkYtYali.vue
new file mode 100644
index 0000000..a85fc68
--- /dev/null
+++ b/src/pages-production/shishishuju/jkYtYali.vue
@@ -0,0 +1,385 @@
+
+ {
+ layout: 'default',
+ style: {
+ navigationStyle: 'custom',
+ navigationBarTitleText: '井口油套压实时数据',
+ },
+ }
+
+
+
+
+
+
+ {{caijiText}}
+
+
+
+
+
+
+
+
+ {{ item.jh }}{{item.jldn}}
+
+
+
+
+
+
+
+
+ 油压(MPa)
+ {{ formatNumber(item.yyyl) || '-' }}
+
+
+
+ 电量(%)
+ {{ formatNumber(item.yydl) || '-' }}
+
+
+
+ 电压(V)
+ {{ formatNumber(item.yydy) || '-' }}
+
+
+
+
+ 信号强度(dB)
+ {{ formatNumber(item.yyqd) || '-' }}
+
+
+
+ 套压(MPa)
+ {{ formatNumber(item.ytyl) || '-' }}
+
+
+
+ 电量(%)
+ {{ formatNumber(item.ytdl) || '-' }}
+
+
+
+ 电压(V)
+ {{ formatNumber(item.ytdy) || '-' }}
+
+
+
+
+ 信号强度(dB)
+ {{ formatNumber(item.ytqd) || '-' }}
+
+
+
+
+ 压力(MPa)
+ {{ formatNumber(item.jtyl) || '-' }}
+
+
+
+ 电量(%)
+ {{ formatNumber(item.jtdl) || '-' }}
+
+
+
+ 电压(V)
+ {{ formatNumber(item.jtdy) || '-' }}
+
+
+
+
+ 信号强度(dB)
+ {{ formatNumber(item.jtqd) || '-' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages.json b/src/pages.json
index ee60288..12de198 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -677,6 +677,15 @@
"navigationBarTitleText": "实时数据 "
}
},
+ {
+ "path": "shishishuju/jkYtYali",
+ "type": "page",
+ "layout": "default",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTitleText": "井口油套压实时数据"
+ }
+ },
{
"path": "shishishuju/krqtSssj",
"type": "page",
diff --git a/src/pages/login/login.vue b/src/pages/login/login.vue
index 192171f..272449f 100644
--- a/src/pages/login/login.vue
+++ b/src/pages/login/login.vue
@@ -137,12 +137,12 @@
})
} else {
/*开发环境 */
- // params.captcha = 'app';
+ params.captcha = 'app';
/*生产环境 */
- params = {
- username: Base64.encode(encodeURIComponent(userName.value)),
- password: Base64.encode(encodeURIComponent(password.value)),
- };
+ // params = {
+ // username: Base64.encode(encodeURIComponent(userName.value)),
+ // password: Base64.encode(encodeURIComponent(password.value)),
+ // };
}
login(params)
}
diff --git a/src/types/uni-pages.d.ts b/src/types/uni-pages.d.ts
index 27cec26..94adfe5 100644
--- a/src/types/uni-pages.d.ts
+++ b/src/types/uni-pages.d.ts
@@ -81,6 +81,7 @@ interface NavigateToOptions {
"/pages-production/shishishuju/aqbjSssj" |
"/pages-production/shishishuju/gycsSssj" |
"/pages-production/shishishuju/index" |
+ "/pages-production/shishishuju/jkYtYali" |
"/pages-production/shishishuju/krqtSssj" |
"/pages-production/shishishuju/nyxhSssj" |
"/pages-production/shishishuju/trqSssj" |