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 | 65 ++++++++++++++++---------------- 1 files changed, 32 insertions(+), 33 deletions(-) diff --git a/pages/sbgl/rcdj.html b/pages/sbgl/rcdj.html index a00c143..820edc3 100644 --- a/pages/sbgl/rcdj.html +++ b/pages/sbgl/rcdj.html @@ -19,19 +19,22 @@ <script type="text/javascript" src="../../js/common.js"></script> + <script type="text/javascript" src="../../js/global.js"></script> + <!-- <link rel="stylesheet" href="../../css/global.css" type="text/css" charset="utf-8" /> --> <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: '瑁呴厤杞﹂棿', @@ -344,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() @@ -364,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() {}, @@ -393,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') { @@ -451,16 +451,10 @@ } }) }, - resultClick(val) { resultValue = val this.$forceUpdate() }, - - selected(id) { - alert(id) - }, - // 鎵弿鐐规宸ヤ綅鎵弿 topScanClick() { createWithoutTitle('../../components/barcode_scan.html', { @@ -498,7 +492,6 @@ } }); }, - // 閮ㄤ綅姝e父 寮傚父鎸夐挳鐐瑰嚮 bwClick(item, val) { item.isOK = val @@ -518,7 +511,13 @@ this.overlayShow = true }, onSelect(action) { - vant.Toast(action.text); + if(action.text==='鎿嶄綔鎸囧'){ + topPopoverClick('鎿嶄綔鎸囧') + }else if(action.text==='鎴愬搧杩芥函'){ + topPopoverClick('鎴愬搧杩芥函') + }else if(action.text==='閫�鍑虹櫥褰�'){ + topPopoverClick('閫�鍑虹櫥褰�') + } this.overlayShow = false }, } -- Gitblit v1.9.3