From 48e31778cba99836acaaccbb24c843cd3049b1da Mon Sep 17 00:00:00 2001 From: loulijun2021 <1694218219@qq.com> Date: 星期五, 23 九月 2022 15:37:12 +0800 Subject: [PATCH] 1.设备保养开发完成 --- pages/sbgl/rcdj.html | 55 ++++++++++++++++++++++++++++++++----------------------- 1 files changed, 32 insertions(+), 23 deletions(-) diff --git a/pages/sbgl/rcdj.html b/pages/sbgl/rcdj.html index a00c143..1eef026 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() {}, @@ -518,7 +521,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