Browse Source

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save