Commit 0644e7ad authored by 刘怀志's avatar 刘怀志

64712 【接力】全局,编辑成功提示语修改

parent 019dd622
...@@ -160,7 +160,7 @@ export default { ...@@ -160,7 +160,7 @@ export default {
if (valid) { if (valid) {
if (this.form.id != null) { if (this.form.id != null) {
updateArticle(this.form).then(response => { updateArticle(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -172,7 +172,7 @@ export default { ...@@ -172,7 +172,7 @@ export default {
updateArticle(this.form).then(response => { updateArticle(this.form).then(response => {
this.$message({ this.$message({
type: 'success', type: 'success',
message: '修改成功' message: '编辑成功'
}) })
this.goBack() this.goBack()
}) })
...@@ -193,7 +193,7 @@ export default { ...@@ -193,7 +193,7 @@ export default {
// updateArticle(this.form).then(response => { // updateArticle(this.form).then(response => {
// this.$message({ // this.$message({
// type: 'success', // type: 'success',
// message: '修改成功!' // message: '编辑成功!'
// }) // })
// this.goBack() // this.goBack()
// }) // })
...@@ -210,7 +210,7 @@ export default { ...@@ -210,7 +210,7 @@ export default {
// if (valid) { // if (valid) {
// if (this.form.id != null) { // if (this.form.id != null) {
// updateArticle(this.form).then(response => { // updateArticle(this.form).then(response => {
// this.$modal.msgSuccess('修改成功') // this.$modal.msgSuccess('编辑成功')
// this.open = false // this.open = false
// this.getList() // this.getList()
// }) // })
......
...@@ -481,7 +481,7 @@ export default { ...@@ -481,7 +481,7 @@ export default {
if (valid) { if (valid) {
if (this.form.id != null) { if (this.form.id != null) {
updateArticle(this.form).then(response => { updateArticle(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -1049,7 +1049,7 @@ export default { ...@@ -1049,7 +1049,7 @@ export default {
}).then(() => { }).then(() => {
updateDevice(form).then(response => { updateDevice(form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.cancel() this.cancel()
console.log('this.form)', form) console.log('this.form)', form)
}) })
......
...@@ -1375,7 +1375,7 @@ export default { ...@@ -1375,7 +1375,7 @@ export default {
editRecord(temp).then(res => { editRecord(temp).then(res => {
this.$message({ this.$message({
type: 'success', type: 'success',
message: '修改成功' message: '编辑成功'
}) })
this.goBack() this.goBack()
console.log('editRecord', res) console.log('editRecord', res)
......
...@@ -487,7 +487,7 @@ export default { ...@@ -487,7 +487,7 @@ export default {
if (valid) { if (valid) {
if (this.form.jobId !== undefined) { if (this.form.jobId !== undefined) {
updateJob(this.form).then(response => { updateJob(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -565,7 +565,7 @@ export default { ...@@ -565,7 +565,7 @@ export default {
if (this.form.roleId !== undefined) { if (this.form.roleId !== undefined) {
this.form.menuIds = this.getMenuAllCheckedKeys() this.form.menuIds = this.getMenuAllCheckedKeys()
updateRole(this.form).then(response => { updateRole(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
...@@ -585,7 +585,7 @@ export default { ...@@ -585,7 +585,7 @@ export default {
if (this.form.roleId !== undefined) { if (this.form.roleId !== undefined) {
this.form.deptIds = this.getDeptAllCheckedKeys() this.form.deptIds = this.getDeptAllCheckedKeys()
dataScope(this.form).then(response => { dataScope(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.openDataScope = false this.openDataScope = false
this.getList() this.getList()
}) })
......
...@@ -702,7 +702,7 @@ export default { ...@@ -702,7 +702,7 @@ export default {
if (valid) { if (valid) {
if (this.form.id != null) { if (this.form.id != null) {
updateManage(this.form).then(response => { updateManage(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -302,7 +302,7 @@ export default { ...@@ -302,7 +302,7 @@ export default {
if (valid) { if (valid) {
if (this.form.configId !== undefined) { if (this.form.configId !== undefined) {
updateConfig(this.form).then(response => { updateConfig(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -312,7 +312,7 @@ export default { ...@@ -312,7 +312,7 @@ export default {
if (valid) { if (valid) {
if (this.form.deptId !== undefined) { if (this.form.deptId !== undefined) {
updateDept(this.form).then(response => { updateDept(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -365,7 +365,7 @@ export default { ...@@ -365,7 +365,7 @@ export default {
if (this.form.dictCode !== undefined) { if (this.form.dictCode !== undefined) {
updateData(this.form).then(response => { updateData(this.form).then(response => {
this.$store.dispatch('dict/removeDict', this.queryParams.dictType) this.$store.dispatch('dict/removeDict', this.queryParams.dictType)
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -305,7 +305,7 @@ export default { ...@@ -305,7 +305,7 @@ export default {
if (valid) { if (valid) {
if (this.form.dictId !== undefined) { if (this.form.dictId !== undefined) {
updateType(this.form).then(response => { updateType(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -424,7 +424,7 @@ export default { ...@@ -424,7 +424,7 @@ export default {
if (valid) { if (valid) {
if (this.form.menuId !== undefined) { if (this.form.menuId !== undefined) {
updateMenu(this.form).then(response => { updateMenu(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -283,7 +283,7 @@ export default { ...@@ -283,7 +283,7 @@ export default {
if (valid) { if (valid) {
if (this.form.noticeId !== undefined) { if (this.form.noticeId !== undefined) {
updateNotice(this.form).then(response => { updateNotice(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -274,7 +274,7 @@ export default { ...@@ -274,7 +274,7 @@ export default {
if (valid) { if (valid) {
if (this.form.postId !== undefined) { if (this.form.postId !== undefined) {
updatePost(this.form).then(response => { updatePost(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -565,7 +565,7 @@ export default { ...@@ -565,7 +565,7 @@ export default {
if (this.form.roleId !== undefined) { if (this.form.roleId !== undefined) {
this.form.menuIds = this.getMenuAllCheckedKeys() this.form.menuIds = this.getMenuAllCheckedKeys()
updateRole(this.form).then(response => { updateRole(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
...@@ -585,7 +585,7 @@ export default { ...@@ -585,7 +585,7 @@ export default {
if (this.form.roleId !== undefined) { if (this.form.roleId !== undefined) {
this.form.deptIds = this.getDeptAllCheckedKeys() this.form.deptIds = this.getDeptAllCheckedKeys()
dataScope(this.form).then(response => { dataScope(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.openDataScope = false this.openDataScope = false
this.getList() this.getList()
}) })
......
...@@ -600,7 +600,7 @@ export default { ...@@ -600,7 +600,7 @@ export default {
inputErrorMessage: '用户密码长度必须介于 5 和 20 之间' inputErrorMessage: '用户密码长度必须介于 5 和 20 之间'
}).then(({ value }) => { }).then(({ value }) => {
resetUserPwd(row.userId, value).then(response => { resetUserPwd(row.userId, value).then(response => {
this.$modal.msgSuccess('修改成功,新密码是:' + value) this.$modal.msgSuccess('编辑成功,新密码是:' + value)
}) })
}).catch(() => {}) }).catch(() => {})
}, },
...@@ -615,7 +615,7 @@ export default { ...@@ -615,7 +615,7 @@ export default {
if (valid) { if (valid) {
if (this.form.userId !== undefined) { if (this.form.userId !== undefined) {
updateUser(this.form).then(response => { updateUser(this.form).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
this.open = false this.open = false
this.getList() this.getList()
}) })
......
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
this.$refs['form'].validate(valid => { this.$refs['form'].validate(valid => {
if (valid) { if (valid) {
updateHospital(this.hospital).then(res => { updateHospital(this.hospital).then(res => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
}) })
} }
}) })
......
...@@ -55,7 +55,7 @@ export default { ...@@ -55,7 +55,7 @@ export default {
this.$refs['form'].validate(valid => { this.$refs['form'].validate(valid => {
if (valid) { if (valid) {
updateUserPwd(this.user.oldPassword, this.user.newPassword).then(response => { updateUserPwd(this.user.oldPassword, this.user.newPassword).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
}) })
} }
}) })
......
...@@ -142,7 +142,7 @@ export default { ...@@ -142,7 +142,7 @@ export default {
// this.open = false; // this.open = false;
// this.options.img = process.env.VUE_APP_BASE_API + response.imgUrl; // this.options.img = process.env.VUE_APP_BASE_API + response.imgUrl;
// store.commit('SET_AVATAR', this.options.img); // store.commit('SET_AVATAR', this.options.img);
// this.$modal.msgSuccess("修改成功"); // this.$modal.msgSuccess("编辑成功");
// this.visible = false; // this.visible = false;
// }); // });
}) })
......
...@@ -62,7 +62,7 @@ export default { ...@@ -62,7 +62,7 @@ export default {
this.$refs['form'].validate(valid => { this.$refs['form'].validate(valid => {
if (valid) { if (valid) {
updateUserProfile(this.user).then(response => { updateUserProfile(this.user).then(response => {
this.$modal.msgSuccess('修改成功') this.$modal.msgSuccess('编辑成功')
}) })
} }
}) })
......
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