cuiqian2004
2024-08-16 c54802aead926ec66f2c1263ce1615aee0623728
pages/modal/5601.vue
@@ -1069,6 +1069,35 @@
                                                         ele2
                                                         .attr
                                                      ) {
                                                         if (ele.name ==
                                                            'Select' &&
                                                            ele2
                                                            .choice_list
                                                         ) {
                                                            const
                                                               dictItemList = [];
                                                            const
                                                               choiceList =
                                                               ele2
                                                               .choice_list ||
                                                               [];
                                                            for (let d in
                                                                  choiceList) {
                                                               const
                                                                  val =
                                                                  choiceList[
                                                                     d
                                                                  ];
                                                               dictItemList
                                                                  .push({
                                                                     text: val,
                                                                     value: val
                                                                  });
                                                            }
                                                            ele.dict =
                                                               dictItemList;
                                                         }
                                                         ele.value =
                                                            ele2
                                                            .value;
@@ -1092,6 +1121,38 @@
                                                                     ele2
                                                                     .attr
                                                                  ) {
                                                                     if (col
                                                                        .name ==
                                                                        'Select' &&
                                                                        ele2
                                                                        .choice_list
                                                                     ) {
                                                                        const
                                                                           dictItemList = [];
                                                                        const
                                                                           choiceList =
                                                                           ele2
                                                                           .choice_list ||
                                                                           [];
                                                                        for (
                                                                           let d in
                                                                              choiceList
                                                                        ) {
                                                                           const
                                                                              val =
                                                                              choiceList[
                                                                                 d
                                                                              ];
                                                                           dictItemList
                                                                              .push({
                                                                                 text: val,
                                                                                 value: val
                                                                              });
                                                                        }
                                                                        col.dict =
                                                                           dictItemList;
                                                                     }
                                                                     col.value =
                                                                        ele2
                                                                        .value;