Commit 957e04e5 authored by 陈明豪's avatar 陈明豪

bug修改 删除提示语后的 ‘?’

parent 04007262
......@@ -277,7 +277,7 @@ export default {
},
/** 清空按钮操作 */
handleClean() {
this.$modal.confirm('是否确认清空所有调度日志数据项').then(function() {
this.$modal.confirm('是否确认清空所有调度日志数据项').then(function() {
return cleanJobLog()
}).then(() => {
this.getList()
......
......@@ -209,7 +209,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const infoIds = row.infoId || this.ids
this.$modal.confirm('是否确认删除访问编号为"' + infoIds + '"的数据项').then(function() {
this.$modal.confirm('是否确认删除访问编号为"' + infoIds + '"的数据项').then(function() {
return delLogininfor(infoIds)
}).then(() => {
this.getList()
......@@ -218,7 +218,7 @@ export default {
},
/** 清空按钮操作 */
handleClean() {
this.$modal.confirm('是否确认清空所有登录日志数据项').then(function() {
this.$modal.confirm('是否确认清空所有登录日志数据项').then(function() {
return cleanLogininfor()
}).then(() => {
this.getList()
......@@ -228,7 +228,7 @@ export default {
/** 解锁按钮操作 */
handleUnlock() {
const username = this.selectName
this.$modal.confirm('是否确认解锁用户"' + username + '"数据项?').then(function() {
this.$modal.confirm('是否确认解锁用户"' + username + '"数据项').then(function() {
return unlockLogininfor(username)
}).then(() => {
this.$modal.msgSuccess('用户' + username + '解锁成功')
......
......@@ -109,7 +109,7 @@ export default {
},
/** 强退按钮操作 */
handleForceLogout(row) {
this.$modal.confirm('是否确认强退名称为"' + row.userName + '"的用户').then(function() {
this.$modal.confirm('是否确认强退名称为"' + row.userName + '"的用户').then(function() {
return forceLogout(row.tokenId)
}).then(() => {
this.getList()
......
......@@ -319,7 +319,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const configIds = row.configId || this.ids
this.$modal.confirm('是否确认删除参数编号为"' + configIds + '"的数据项').then(function() {
this.$modal.confirm('是否确认删除参数编号为"' + configIds + '"的数据项').then(function() {
return delConfig(configIds)
}).then(() => {
this.getList()
......
......@@ -328,7 +328,7 @@ export default {
},
/** 删除按钮操作 */
handleDelete(row) {
this.$modal.confirm('是否确认删除名称为"' + row.deptName + '"的数据项').then(function() {
this.$modal.confirm('是否确认删除名称为"' + row.deptName + '"的数据项').then(function() {
return delDept(row.deptId)
}).then(() => {
this.getList()
......
......@@ -383,7 +383,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const dictCodes = row.dictCode || this.ids
this.$modal.confirm('是否确认删除字典编码为"' + dictCodes + '"的数据项').then(function() {
this.$modal.confirm('是否确认删除字典编码为"' + dictCodes + '"的数据项').then(function() {
return delData(dictCodes)
}).then(() => {
this.getList()
......
......@@ -322,7 +322,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const dictIds = row.dictId || this.ids
this.$modal.confirm('是否确认删除字典编号为"' + dictIds + '"的数据项').then(function() {
this.$modal.confirm('是否确认删除字典编号为"' + dictIds + '"的数据项').then(function() {
return delType(dictIds)
}).then(() => {
this.getList()
......
......@@ -440,7 +440,7 @@ export default {
},
/** 删除按钮操作 */
handleDelete(row) {
this.$modal.confirm('是否确认删除名称为"' + row.menuName + '"的数据项').then(function() {
this.$modal.confirm('是否确认删除名称为"' + row.menuName + '"的数据项').then(function() {
return delMenu(row.menuId)
}).then(() => {
this.getList()
......
......@@ -300,7 +300,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const noticeIds = row.noticeId || this.ids
this.$modal.confirm('是否确认删除公告编号为"' + noticeIds + '"的数据项').then(function() {
this.$modal.confirm('是否确认删除公告编号为"' + noticeIds + '"的数据项').then(function() {
return delNotice(noticeIds)
}).then(() => {
this.getList()
......
......@@ -291,7 +291,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const postIds = row.postId || this.ids
this.$modal.confirm('是否确认删除岗位编号为"' + postIds + '"的数据项').then(function() {
this.$modal.confirm('是否确认删除岗位编号为"' + postIds + '"的数据项').then(function() {
return delPost(postIds)
}).then(() => {
this.getList()
......
......@@ -176,7 +176,7 @@ export default {
/** 取消授权按钮操作 */
cancelAuthUser(row) {
const roleId = this.queryParams.roleId
this.$modal.confirm('确认要取消该用户"' + row.userName + '"角色吗').then(function() {
this.$modal.confirm('确认要取消该用户"' + row.userName + '"角色吗').then(function() {
return authUserCancel({ userId: row.userId, roleId: roleId })
}).then(() => {
this.getList()
......@@ -187,7 +187,7 @@ export default {
cancelAuthUserAll(row) {
const roleId = this.queryParams.roleId
const userIds = this.userIds.join(',')
this.$modal.confirm('是否取消选中用户授权数据项').then(function() {
this.$modal.confirm('是否取消选中用户授权数据项').then(function() {
return authUserCancelAll({ roleId: roleId, userIds: userIds })
}).then(() => {
this.getList()
......
......@@ -402,7 +402,7 @@ export default {
// 角色状态修改
handleStatusChange(row) {
const text = row.status === '0' ? '启用' : '停用'
this.$modal.confirm('确认要"' + text + '""' + row.roleName + '"角色吗').then(function() {
this.$modal.confirm('确认要"' + text + '""' + row.roleName + '"角色吗').then(function() {
return changeRoleStatus(row.roleId, row.status)
}).then(() => {
this.$modal.msgSuccess(text + '成功')
......@@ -594,7 +594,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const roleIds = row.roleId || this.ids
this.$modal.confirm('是否确认删除角色编号为"' + roleIds + '"的数据项').then(function() {
this.$modal.confirm('是否确认删除角色编号为"' + roleIds + '"的数据项').then(function() {
return delRole(roleIds)
}).then(() => {
this.getList()
......
......@@ -501,7 +501,7 @@ export default {
// 用户状态修改
handleStatusChange(row) {
const text = row.status === '0' ? '启用' : '停用'
this.$modal.confirm('确认要"' + text + '""' + row.userName + '"用户吗').then(function() {
this.$modal.confirm('确认要"' + text + '""' + row.userName + '"用户吗').then(function() {
return changeUserStatus(row.userId, row.status)
}).then(() => {
this.$modal.msgSuccess(text + '成功')
......@@ -632,7 +632,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const userIds = row.userId || this.ids
this.$modal.confirm('是否确认删除用户编号为"' + userIds + '"的数据项').then(function() {
this.$modal.confirm('是否确认删除用户编号为"' + userIds + '"的数据项').then(function() {
return delUser(userIds)
}).then(() => {
this.getList()
......
......@@ -273,7 +273,7 @@ export default {
/** 同步数据库操作 */
handleSynchDb(row) {
const tableName = row.tableName
this.$modal.confirm('确认要强制同步"' + tableName + '"表结构吗').then(function() {
this.$modal.confirm('确认要强制同步"' + tableName + '"表结构吗').then(function() {
return synchDb(tableName)
}).then(() => {
this.$modal.msgSuccess('同步成功')
......@@ -325,7 +325,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const tableIds = row.tableId || this.ids
this.$modal.confirm('是否确认删除表编号为"' + tableIds + '"的数据项').then(function() {
this.$modal.confirm('是否确认删除表编号为"' + tableIds + '"的数据项').then(function() {
return delTable(tableIds)
}).then(() => {
this.getList()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment