fix: 记账管理,功能优化,编辑删除按钮功能完善。
This commit is contained in:
@@ -342,6 +342,8 @@ function handleDelete(row) {
|
||||
})
|
||||
.then(() => {
|
||||
getList()
|
||||
getDebitList()
|
||||
getcreditCardList()
|
||||
proxy.$modal.msgSuccess('删除成功')
|
||||
})
|
||||
.catch(() => {})
|
||||
|
||||
@@ -117,7 +117,7 @@ const debitCardList = ref([])
|
||||
const title = ref('')
|
||||
const operateList = ref([
|
||||
{ id: 'view', icon: 'View', title: '查看', hasPermi: ['invest:accountsTransferRecord:query'] },
|
||||
// { id: 'edit', icon: 'Edit', title: '修改', hasPermi: ['invest:accountsTransferRecord:edit'] },
|
||||
{ id: 'edit', icon: 'Edit', title: '修改', hasPermi: ['invest:accountsTransferRecord:edit'] },
|
||||
{ id: 'delete', icon: 'Delete', title: '删除', hasPermi: ['invest:accountsTransferRecord:remove'] }
|
||||
])
|
||||
const data = reactive({
|
||||
@@ -307,6 +307,7 @@ function handleDelete(row) {
|
||||
})
|
||||
.then(() => {
|
||||
getList()
|
||||
getDebitList()
|
||||
proxy.$modal.msgSuccess('删除成功')
|
||||
})
|
||||
.catch(() => {})
|
||||
|
||||
@@ -117,7 +117,7 @@ const futruesStocksList = ref([])
|
||||
const title = ref('')
|
||||
const operateList = ref([
|
||||
{ id: 'view', icon: 'View', title: '查看', hasPermi: ['invest:accountsTransferRecord:query'] },
|
||||
// { id: 'edit', icon: 'Edit', title: '修改', hasPermi: ['invest:accountsTransferRecord:edit'] },
|
||||
{ id: 'edit', icon: 'Edit', title: '修改', hasPermi: ['invest:accountsTransferRecord:edit'] },
|
||||
{ id: 'delete', icon: 'Delete', title: '删除', hasPermi: ['invest:accountsTransferRecord:remove'] }
|
||||
])
|
||||
const data = reactive({
|
||||
@@ -305,6 +305,7 @@ function handleDelete(row) {
|
||||
})
|
||||
.then(() => {
|
||||
getList()
|
||||
getFutruesStocksList()
|
||||
proxy.$modal.msgSuccess('删除成功')
|
||||
})
|
||||
.catch(() => {})
|
||||
|
||||
@@ -135,7 +135,7 @@ const createTimeLabel = ref('借贷时间')
|
||||
const amountLabel = ref('借贷金额')
|
||||
const operateList = ref([
|
||||
{ id: 'view', icon: 'View', title: '查看', hasPermi: ['invest:accountsTransferRecord:query'] },
|
||||
// { id: 'edit', icon: 'Edit', title: '修改', hasPermi: ['invest:accountsTransferRecord:edit'] },
|
||||
{ id: 'edit', icon: 'Edit', title: '修改', hasPermi: ['invest:accountsTransferRecord:edit'] },
|
||||
{ id: 'delete', icon: 'Delete', title: '删除', hasPermi: ['invest:accountsTransferRecord:remove'] }
|
||||
])
|
||||
const data = reactive({
|
||||
@@ -363,6 +363,8 @@ function handleDelete(row) {
|
||||
})
|
||||
.then(() => {
|
||||
getList()
|
||||
getDebitList()
|
||||
getLendList()
|
||||
proxy.$modal.msgSuccess('删除成功')
|
||||
})
|
||||
.catch(() => {})
|
||||
|
||||
@@ -131,7 +131,7 @@ const posMachineList = ref([])
|
||||
const title = ref('')
|
||||
const operateList = ref([
|
||||
{ id: 'view', icon: 'View', title: '查看', hasPermi: ['invest:accountsTransferRecord:query'] },
|
||||
// { id: 'edit', icon: 'Edit', title: '修改', hasPermi: ['invest:accountsTransferRecord:edit'] },
|
||||
{ id: 'edit', icon: 'Edit', title: '修改', hasPermi: ['invest:accountsTransferRecord:edit'] },
|
||||
{ id: 'delete', icon: 'Delete', title: '删除', hasPermi: ['invest:accountsTransferRecord:remove'] }
|
||||
])
|
||||
const data = reactive({
|
||||
@@ -344,6 +344,7 @@ function handleDelete(row) {
|
||||
})
|
||||
.then(() => {
|
||||
getList()
|
||||
getBankCardLendList()
|
||||
proxy.$modal.msgSuccess('删除成功')
|
||||
})
|
||||
.catch(() => {})
|
||||
|
||||
Reference in New Issue
Block a user