diff --git a/common/css/base.scss b/common/css/base.scss
index a4bde80..f640a6f 100644
--- a/common/css/base.scss
+++ b/common/css/base.scss
@@ -227,10 +227,6 @@ page {
/deep/ .uni-card:first-of-type {
margin-top: 0 !important;
}
-
- /deep/ .uni-card__header {
- border-bottom: none !important;
- }
}
.content {
diff --git a/common/js/request.js b/common/js/request.js
index 6c98ed7..d3a9847 100644
--- a/common/js/request.js
+++ b/common/js/request.js
@@ -40,7 +40,7 @@ export default (options = {}) => {
if (arr.indexOf(options.url) > -1) {
setTimeout(() => {
arr.splice(arr.indexOf(options.url), 1)
- }, 1500)
+ }, 500)
}
if (res.data.resultCode !== 10000 && res.data.code !== 'A0000') {
errHandler(res.data)
@@ -53,7 +53,7 @@ export default (options = {}) => {
if (arr.indexOf(options.url) > -1) {
setTimeout(() => {
arr.splice(arr.indexOf(options.url), 1)
- }, 1500)
+ }, 500)
}
reject(err)
uni.showToast({
diff --git a/components/Cn-device-card/Cn-device-card.vue b/components/Cn-device-card/Cn-device-card.vue
new file mode 100644
index 0000000..ea7a7ee
--- /dev/null
+++ b/components/Cn-device-card/Cn-device-card.vue
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+ 工程名称
+ {{ device.engineeringName }}
+
+
+ 项目名称
+ {{ device.projectName }}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/manifest.json b/manifest.json
index b3576aa..a0ff241 100644
--- a/manifest.json
+++ b/manifest.json
@@ -131,7 +131,7 @@
"proxy" : {
"/api" : {
"https" : true,
- "target" : "http://192.168.1.115:10215",
+ "target" : "http://192.168.1.13:10215",
"changOrigin" : true,
"pathRewrite" : {
"/api" : ""
diff --git a/pages/device/list.vue b/pages/device/list.vue
index 758420a..7673bc0 100644
--- a/pages/device/list.vue
+++ b/pages/device/list.vue
@@ -1,45 +1,209 @@
-
-
-
-
-
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
diff --git a/pages/home/selectEngineering.vue b/pages/home/selectEngineering.vue
index bf04f4d..0324f6a 100644
--- a/pages/home/selectEngineering.vue
+++ b/pages/home/selectEngineering.vue
@@ -69,9 +69,9 @@ export default {
confirm(e) {
console.log(e)
let engineering = this.engineeringList.find((item) => item.name === e.item.name)
- if (this.options.from === 'projectNew') {
+ if (this.options.from === 'once') {
// 创建项目的时候选择工程 用完即删
- uni.setStorageSync('projectSelectEngineering', engineering)
+ uni.setStorageSync('onceSelectEngineering', engineering)
} else {
uni.setStorageSync('engineering', engineering)
}
diff --git a/pages/index/comp/device.vue b/pages/index/comp/device.vue
index e13da92..0c0d2d1 100644
--- a/pages/index/comp/device.vue
+++ b/pages/index/comp/device.vue
@@ -62,28 +62,34 @@
-->
-
-
+
-
- {{ item.equipmentName }}
-
+
+
-
+
diff --git a/pages/index/comp/indexZhuYongHu.vue b/pages/index/comp/indexZhuYongHu.vue
index 870cae9..f8afaf5 100644
--- a/pages/index/comp/indexZhuYongHu.vue
+++ b/pages/index/comp/indexZhuYongHu.vue
@@ -3,7 +3,7 @@
所有工程设备统计
当前工程设备统计