079f16be by 任超

style:修改提示

1 parent 54b26e2c
...@@ -234,6 +234,10 @@ export default { ...@@ -234,6 +234,10 @@ export default {
234 children: this.tableData 234 children: this.tableData
235 }).then(res => { 235 }).then(res => {
236 if (res.code === 200) { 236 if (res.code === 200) {
237 this.$message({
238 message: '修改成功',
239 type: 'success'
240 })
237 this.$emit('input', false) 241 this.$emit('input', false)
238 } 242 }
239 }) 243 })
......
...@@ -79,11 +79,13 @@ export default { ...@@ -79,11 +79,13 @@ export default {
79 this.$store.dispatch('dict/generateDic') 79 this.$store.dispatch('dict/generateDic')
80 }, 80 },
81 editClick (row, val) { 81 editClick (row, val) {
82 this.details.rowData = {}
82 this.details.rowData = row 83 this.details.rowData = row
83 this.details.isenable = val 84 this.details.isenable = val
84 getChildDictList(row.bsmDict).then(res => { 85 getChildDictList(row.bsmDict).then(res => {
85 this.isDialog = true 86 this.isDialog = true
86 let { result } = res 87 let { result } = res
88 this.details.dataList = []
87 this.details.dataList = result 89 this.details.dataList = result
88 }) 90 })
89 } 91 }
......
...@@ -207,6 +207,10 @@ export default { ...@@ -207,6 +207,10 @@ export default {
207 let that = this 207 let that = this
208 updateSysSqywmbsz(this.ruleForm).then(res => { 208 updateSysSqywmbsz(this.ruleForm).then(res => {
209 if (res.code === 200) { 209 if (res.code === 200) {
210 that.$message({
211 message: '修改成功',
212 type: 'success'
213 })
210 that.$emit('input', false) 214 that.$emit('input', false)
211 } 215 }
212 }) 216 })
......
...@@ -261,11 +261,17 @@ export default { ...@@ -261,11 +261,17 @@ export default {
261 if (valid) { 261 if (valid) {
262 this.subData.ywDetail = this.ruleForm 262 this.subData.ywDetail = this.ruleForm
263 saveSqdjyw(this.subData).then(res => { 263 saveSqdjyw(this.subData).then(res => {
264 if (res.code == 200) {
265 that.$message({
266 message: '修改成功',
267 type: 'success'
268 })
264 // that.$emit('input', false) 269 // that.$emit('input', false)
270 }
265 }) 271 })
266 } else { 272 } else {
267 this.$message('请检查表单完整性') 273 this.$message('请检查表单完整性')
268 return false; 274 return false
269 } 275 }
270 }) 276 })
271 }, 277 },
......