瀏覽代碼

底腿 历史详情

menchuang 1 年之前
父節點
當前提交
3f5bc20ea0
共有 2 個文件被更改,包括 20 次插入1 次删除
  1. 7 0
      pages.json
  2. 13 1
      pages/statistics/statistics.vue

+ 7 - 0
pages.json

@@ -114,6 +114,13 @@
 			}
 		},
 		{
+			"path": "pages/statistics/history_details_bottom_leg",
+			"style": {
+				"navigationBarTitleText": "历史详情"
+
+			}
+		},
+		{
 			"path": "pages/bottom_leg/bottom_leg",
 			"style": {
 				"navigationBarTitleText": "底腿"

+ 13 - 1
pages/statistics/statistics.vue

@@ -429,7 +429,19 @@
 				this.typeList = item.nodeReViewStateList
 				this.nodeId = item.id;
 				this.nodeType = item.enginClassification;
-				this.handleShowSheet();
+				if (this.nodeType == 'bottom_leg') { //底腿
+					let obj = {
+						id: this.nodeId,
+						type: item.Type
+					};
+					uni.navigateTo({
+						url: '/pages/statistics/history_details_bottom_leg?params=' + encodeURIComponent(JSON
+							.stringify(
+								obj))
+					})
+				} else {
+					this.handleShowSheet();
+				}
 			},
 			showTypeSheet(item) {
 				let obj = {