App-Android(使用App+htnl5框架,解决消息推送兼容SignalR问题)
loulijun2021
2022-09-24 8ca4dddbb74bb69b517419adef886739aad1b362
pages/sbgl/dqby.html
@@ -409,11 +409,13 @@
         },
         methods: {
            // 月 年选择
            onSelectSheet(val) {
               dropdownValue = val
               this.$forceUpdate()
               this.sheetFlag = false
            },
            //提交
            submit() {
               let children = []
               centerContent.forEach(item => {
@@ -433,15 +435,11 @@
                  children: children
               }
               console.log(data, 1)
               const params = {
                  username: localStorage.getItem('username'),
                  maintcyc: dropdownValue
               }
// vant.Notify(JSON.stringify(params))
// vant.Toast(JSON.stringify(data))
               post('AppDeviceManage/AppDeviceRepairSave' + formatParams(params), data)
                  .then(res => {
                     if (res.code === '200') {
@@ -470,6 +468,7 @@
            vanFieldBlur() {
               this.$forceUpdate()
            },
            //扫描保养工位点击不同选择项
            topContentClcik(code) {
               radioValue = code
               this.$forceUpdate()
@@ -500,16 +499,11 @@
                  }
               })
            },
            //保养结果点击
            resultClick(val) {
               resultValue = val
               this.$forceUpdate()
            },
            selected(id) {
               alert(id)
            },
            // 扫描保养工位扫描
            topScanClick() {
               createWithoutTitle('../../components/barcode_scan.html', {
@@ -547,7 +541,6 @@
                  }
               });
            },
            // 部位正常 异常按钮点击
            bwClick(item, val) {
               item.isOK = val