From 3c9801025acf79edd3c8dc78451752e0c5d8435f Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Mon, 01 Jun 2026 14:55:42 +0800
Subject: [PATCH] 1
---
src/views/modules/mining/finance-order-add-or-update.vue | 34 ++++++++++++++++++++++++----------
1 files changed, 24 insertions(+), 10 deletions(-)
diff --git a/src/views/modules/mining/finance-order-add-or-update.vue b/src/views/modules/mining/finance-order-add-or-update.vue
index 833b210..d683ca7 100644
--- a/src/views/modules/mining/finance-order-add-or-update.vue
+++ b/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,15 +105,27 @@
'menuIdList': [].concat(this.$refs.menuListTree.getCheckedKeys(), [this.tempKey], this.$refs.menuListTree.getHalfCheckedKeys())
})
}).then(({data}) => {
- this.$message({
- message: '操作成功',
- type: 'success',
- duration: 1500,
- onClose: () => {
- this.visible = false
- this.$emit('refreshDataList')
- }
- })
+ if(data==0){
+ this.$message({
+ message: '操作成功',
+ type: 'success',
+ duration: 1500,
+ onClose: () => {
+ this.visible = false
+ this.$emit('refreshDataList')
+ }
+ })
+ }else{
+ this.$message({
+ message: data.msg,
+ type: 'error',
+ duration: 1500,
+ onClose: () => {
+ }
+ })
+ //
+ }
+
})
}
})
--
Gitblit v1.9.3