新版交易所前段管理后台
1
jhzh
9 days ago 3c9801025acf79edd3c8dc78451752e0c5d8435f
src/views/modules/mining/finance-order-add-or-update.vue
@@ -62,7 +62,9 @@
        this.$http({
          url: this.$http.adornUrl('/sys/menu/table'),
          method: 'get',
          params: this.$http.adornParams()
          params: this.$http.adornParams({
          appType: "1", //1综合盘  2 交易所
        }),
        }).then(({data}) => {
          this.menuList = treeDataTranslate(data, 'menuId', 'parentId')
        }).then(() => {
@@ -103,6 +105,7 @@
                'menuIdList': [].concat(this.$refs.menuListTree.getCheckedKeys(), [this.tempKey], this.$refs.menuListTree.getHalfCheckedKeys())
              })
            }).then(({data}) => {
              if(data==0){
              this.$message({
                message: '操作成功',
                type: 'success',
@@ -112,6 +115,17 @@
                  this.$emit('refreshDataList')
                }
              })
              }else{
                this.$message({
                  message: data.msg,
                  type: 'error',
                  duration: 1500,
                  onClose: () => {
                  }
                })
                //
              }
            })
          }
        })