Browse Source

修复二次进入页面更新数据时,原有数据丢失的bug

master
李磊 3 years ago
parent
commit
2ac0c1eea9
  1. 1
      src/views/user/components/data-permission.vue
  2. 2
      src/views/ysjl/2000/2100/zbg/dj/edit.vue
  3. 2
      src/views/ysjl/2000/2200/zbg/dj/edit.vue
  4. 2
      src/views/ysjl/7000/jj/edit.vue

1
src/views/user/components/data-permission.vue

@ -223,6 +223,7 @@ export default {
settingChecked(result, optionsIds) { settingChecked(result, optionsIds) {
let matching = false let matching = false
optionsIds.forEach(optionsId => { optionsIds.forEach(optionsId => {
this.checkedIds.add(optionsId)
if (result.id === optionsId) { if (result.id === optionsId) {
result.checked = true result.checked = true
matching = true matching = true

2
src/views/ysjl/2000/2100/zbg/dj/edit.vue

@ -1591,7 +1591,7 @@ export default {
param: this.param, param: this.param,
cyJyxm: { cyJyxm: {
jyxm: jyxm, jyxm: jyxm,
bgjyxm: jyxm, bgjyxm: jyxm
} }
} }
}).then(data => { }).then(data => {

2
src/views/ysjl/2000/2200/zbg/dj/edit.vue

@ -1187,7 +1187,7 @@ export default {
param: this.param, param: this.param,
cyJyxm: { cyJyxm: {
jyxm: jyxm, jyxm: jyxm,
bgjyxm: jyxm, bgjyxm: jyxm
} }
} }
}).then(data => { }).then(data => {

2
src/views/ysjl/7000/jj/edit.vue

@ -590,7 +590,7 @@ export default {
ysjl: this.ysjl, ysjl: this.ysjl,
param: this.param, param: this.param,
cyJyxm: { cyJyxm: {
jyxm: JSON.stringify(this.tableData), jyxm: JSON.stringify(this.tableData)
} }
} }
}).then(data => { }).then(data => {

Loading…
Cancel
Save