优化商品类别和机构的删除操作

This commit is contained in:
季圣华
2021-11-09 23:48:44 +08:00
parent dbee4a2603
commit 15ee7455f6
2 changed files with 3 additions and 3 deletions

View File

@@ -244,7 +244,7 @@ export default {
var that = this
this.$confirm({
title: '确认删除',
content: '确定要删除所选中的 ' + this.checkedKeys.length + ' 条数据,以及子节点数据吗?',
content: '确定要删除所选中的 ' + this.checkedKeys.length + ' 条数据吗?',
onOk: function () {
deleteAction(that.url.deleteBatch, {ids: ids}).then((res) => {
if (res.code == 200) {

View File

@@ -244,7 +244,7 @@ export default {
var that = this
this.$confirm({
title: '确认删除',
content: '确定要删除所选中的 ' + this.checkedKeys.length + ' 条数据,以及子节点数据吗?',
content: '确定要删除所选中的 ' + this.checkedKeys.length + ' 条数据?',
onOk: function () {
deleteAction(that.url.deleteBatch, {ids: ids}).then((res) => {
if (res.code == 200) {
@@ -389,7 +389,7 @@ export default {
var that = this
this.$confirm({
title: '确认删除',
content: '确定要删除此机构以及子节点数据吗?',
content: '确定要删除此机构吗?',
onOk: function () {
deleteByDepartId({id: that.rightClickSelectedKey}).then((resp) => {
if (resp.success) {