From 272476c57140cd80a7137bf8ea5b87e68a872b49 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期一, 26 九月 2022 09:30:28 +0800
Subject: [PATCH] 1.设备维修静态页面

---
 pages/sbgl/rcdj.html |   55 +++++++++++++++++++++++--------------------------------
 1 files changed, 23 insertions(+), 32 deletions(-)

diff --git a/pages/sbgl/rcdj.html b/pages/sbgl/rcdj.html
index da60ea7..820edc3 100644
--- a/pages/sbgl/rcdj.html
+++ b/pages/sbgl/rcdj.html
@@ -25,15 +25,16 @@
 
 		<script type="text/javascript">
 			var topContent = [
+			
 				// {
-				// 	code: 'SB001',
+				// 	code: 'SB003',
 				// 	name: '榻胯疆绠辩粍',
 				// 	wksp_code: "CJ002",
 				// 	wksp_name: '瑁呴厤杞﹂棿',
 				// 	eqpchkmain_code: "djbz002"
 				// },
 				// {
-				// 	code: 'SB003',
+				// 	code: 'SB001',
 				// 	name: '榻胯疆绠辩粍',
 				// 	wksp_code: "CJ002",
 				// 	wksp_name: '瑁呴厤杞﹂棿',
@@ -346,19 +347,19 @@
 					immediate: true,
 				},
 
-				'topContent.length': {
-					handler(newValue, oldValue) {
-						if (newValue !== oldValue) {
-							this.$forceUpdate()
-							// if (topContent[0]&&topContent[0].code) {
-							// 	this.$forceUpdate()
-							// 	this.topContentClcik(topContent[0].code)
-							// }
-						}
-					},
-					deep: true,
-					immediate: true,
-				},
+				// 'topContent.length': {
+				// 	handler(newValue, oldValue) {
+				// 		if (newValue !== oldValue) {
+				// 			this.$forceUpdate()
+				// 			// if (topContent[0]&&topContent[0].code) {
+				// 			// 	this.$forceUpdate()
+				// 			// 	this.topContentClcik(topContent[0].code)
+				// 			// }
+				// 		}
+				// 	},
+				// 	deep: true,
+				// 	immediate: true,
+				// },
 				'number2.length': {
 					handler(newValue, oldValue) {
 						this.$forceUpdate()
@@ -366,13 +367,13 @@
 					deep: true,
 					immediate: true,
 				},
-				'number.length': {
-					handler(newValue, oldValue) {
-						this.$forceUpdate()
-					},
-					deep: true,
-					immediate: true,
-				},
+				// 'number.length': {
+				// 	handler(newValue, oldValue) {
+				// 		this.$forceUpdate()
+				// 	},
+				// 	deep: true,
+				// 	immediate: true,
+				// },
 			},
 			created() {},
 			mounted() {},
@@ -395,9 +396,6 @@
 						result: resultValue,
 						children: children
 					}
-
-					console.log(data, 1)
-
 					post('AppDeviceManage/AppDeviceCheckSave?username=' + localStorage.getItem('username'), data)
 						.then(res => {
 							if (res.code === '200') {
@@ -453,16 +451,10 @@
 						}
 					})
 				},
-
 				resultClick(val) {
 					resultValue = val
 					this.$forceUpdate()
 				},
-
-				selected(id) {
-					alert(id)
-				},
-
 				// 鎵弿鐐规宸ヤ綅鎵弿
 				topScanClick() {
 					createWithoutTitle('../../components/barcode_scan.html', {
@@ -500,7 +492,6 @@
 						}
 					});
 				},
-
 				// 閮ㄤ綅姝e父 寮傚父鎸夐挳鐐瑰嚮
 				bwClick(item, val) {
 					item.isOK = val

--
Gitblit v1.9.3