079f16be by 任超

style:修改提示

1 parent 54b26e2c
......@@ -234,6 +234,10 @@ export default {
children: this.tableData
}).then(res => {
if (res.code === 200) {
this.$message({
message: '修改成功',
type: 'success'
})
this.$emit('input', false)
}
})
......
......@@ -79,11 +79,13 @@ export default {
this.$store.dispatch('dict/generateDic')
},
editClick (row, val) {
this.details.rowData = {}
this.details.rowData = row
this.details.isenable = val
getChildDictList(row.bsmDict).then(res => {
this.isDialog = true
let { result } = res
this.details.dataList = []
this.details.dataList = result
})
}
......
......@@ -207,6 +207,10 @@ export default {
let that = this
updateSysSqywmbsz(this.ruleForm).then(res => {
if (res.code === 200) {
that.$message({
message: '修改成功',
type: 'success'
})
that.$emit('input', false)
}
})
......
......@@ -261,11 +261,17 @@ export default {
if (valid) {
this.subData.ywDetail = this.ruleForm
saveSqdjyw(this.subData).then(res => {
if (res.code == 200) {
that.$message({
message: '修改成功',
type: 'success'
})
// that.$emit('input', false)
}
})
} else {
this.$message('请检查表单完整性')
return false;
return false
}
})
},
......