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

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

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