cuiqian2004
2025-03-05 e8b665122cf256caae4993534c696d029883f0d5
pages/modal/3037_2.vue
@@ -129,8 +129,8 @@
                     </view>
                     <!-- 复选框 -->
                     <checkbox-group class="check_rememberPwd" v-if="item.name=='Checkbox'"
                        :class="item.disabled?'input-disabled':''" :disabled="item.disabled" @change="onCheckBoxValue"
                        :data-attr="item.fieldId">
                        :class="item.disabled?'input-disabled':''" :disabled="item.disabled"
                        @change="onCheckBoxValue" :data-attr="item.fieldId">
                        <label v-for="(item2) in item.selections" :key="item2.value">
                           <checkbox :value="item2.value" :checked="item.value.includes(item2.value)" />
                           <text>{{item2.label}}</text>
@@ -252,8 +252,9 @@
         <uni-popup class="view-popup" ref="popup" background-color="#fff" @change="popupChange">
            <view class="popup-header">{{check_list.title}}</view>
            <view class="popup-content" :class="{ 'popup-height': popupType === 'left' || popupType === 'right' }"
            :style="{'width':check_list.width?check_list.width+'px':'375rpx','height':check_list.height?check_list.height+'px':popupType =='center'?'60vh':'88vh'}">
            <view class="popup-cont" :style="{'height':check_list.height?check_list.height-45+'px':popupType =='center'?'50vh':'80vh'}">
               :style="{'width':check_list.width?check_list.width+'px':'375rpx','height':check_list.height?check_list.height+'px':popupType =='center'?'60vh':'88vh'}">
               <view class="popup-cont"
                  :style="{'height':check_list.height?check_list.height-45+'px':popupType =='center'?'50vh':'80vh'}">
                  <view class="view_popup_CheckList" v-for="(item,index) in check_list.items">
                     <checkbox-group class="check_list" @change="checkChange" :data-ischeck="item.check"
                        :data-index="index" :style="{'margin-left': '10rpx'}">
@@ -446,7 +447,7 @@
                  title: this.translateSys("error") + "1.1",
                  content: tip,
                  showCancel: false,
                  confirmText: this.translateSys("cancel")
                  confirmText: this.translateSys('close')
               });
            }
@@ -505,7 +506,7 @@
                  title: this.translateSys("error") + "2.1",
                  content: tip,
                  showCancel: false,
                  confirmText: this.translateSys("cancel")
                  confirmText: this.translateSys('close')
               });
            }
@@ -555,7 +556,7 @@
                  title: this.translateSys("error") + "1.3",
                  content: ex.errMsg,
                  showCancel: false,
                  confirmText: this.translateSys("cancel")
                  confirmText: this.translateSys('close')
               });
            }
@@ -587,13 +588,13 @@
                        title: this.translateSys("tip"),
                        content: tip,
                        showCancel: false,
                        confirmText: this.translateSys("cancel")
                        confirmText: this.translateSys('close')
                     });
                  } else uni.showModal({
                     title: this.translateSys("tip"),
                     content: tip + ',' + this.translateSys('tip') + ':' + data.ret,
                     showCancel: false,
                     confirmText: this.translateSys("cancel")
                     confirmText: this.translateSys('close')
                  });
                  return false
               } else {
@@ -603,7 +604,7 @@
                     title: this.translateSys("tip"),
                     content: tip,
                     showCancel: false,
                     confirmText: this.translateSys("cancel")
                     confirmText: this.translateSys('close')
                  });
                  var actionlist = data.action;
@@ -748,7 +749,7 @@
                                    "quotation_mark_right") + this
                                 .translate('tip_action_unprocessed'),
                              showCancel: false,
                              confirmText: this.translateSys("cancel")
                              confirmText: this.translateSys('close')
                           });
                        }
                     }
@@ -763,7 +764,7 @@
                     this.translateSys("full_stop") +
                     this.translate('reason') + this.translateSys("colon") + ex.errMsg,
                  showCancel: false,
                  confirmText: this.translateSys("cancel")
                  confirmText: this.translateSys('close')
               });
            });
         },
@@ -998,7 +999,7 @@
               }
            }
         },
         onCheckBoxValue(e) { //绑定Model值
            let values = e.detail.value || []
            let attr = e.currentTarget?.dataset?.attr || ""
@@ -1041,7 +1042,7 @@
                     title: this.translateSys("tip"),
                     content: this.translate("delete_success"),
                     showCancel: false,
                     confirmText: this.translateSys("cancel")
                     confirmText: this.translateSys('close')
                  });
               }).catch(ex => {
@@ -1051,7 +1052,7 @@
                     title: this.translateSys('tip') + "9.1",
                     content: ex.errMsg,
                     showCancel: false,
                     confirmText: this.translateSys("cancel")
                     confirmText: this.translateSys('close')
                  });
               });
            }
@@ -1064,7 +1065,7 @@
                  title: this.translateSys("tip"),
                  content: this.translate("before_select_event_empty"),
                  showCancel: false,
                  confirmText: this.translateSys("cancel")
                  confirmText: this.translateSys('close')
               });
               return;
            }
@@ -1164,7 +1165,7 @@
                  title: this.translateSys("tip"),
                  content: this.translate("after_select_event_empty"),
                  showCancel: false,
                  confirmText: this.translateSys("cancel")
                  confirmText: this.translateSys('close')
               });
               return;
            }
@@ -1187,7 +1188,7 @@
                  title: this.translateSys("tip"),
                  content: this.translate("tip_no_select_data"),
                  showCancel: false,
                  confirmText: this.translateSys("cancel")
                  confirmText: this.translateSys('close')
               });
               return;
            }
@@ -1304,13 +1305,13 @@
                        title: this.translateSys("tip"),
                        content: tip,
                        showCancel: false,
                        confirmText: this.translateSys("cancel")
                        confirmText: this.translateSys('close')
                     });
                  } else uni.showModal({
                     title: this.translateSys("tip"),
                     content: tip + ',' + this.translateSys('tip') + ':' + data.ret,
                     showCancel: false,
                     confirmText: this.translateSys("cancel")
                     confirmText: this.translateSys('close')
                  });
                  return false
               } else {
@@ -1320,7 +1321,7 @@
                     title: this.translateSys("tip"),
                     content: tip,
                     showCancel: false,
                     confirmText: this.translateSys("cancel")
                     confirmText: this.translateSys('close')
                  });
                  var actionlist = data.action;
@@ -1500,7 +1501,7 @@
                  title: this.translateSys("error") + "3.1",
                  content: ex.errMsg,
                  showCancel: false,
                  confirmText: this.translateSys("cancel")
                  confirmText: this.translateSys('close')
               });
            });
         },
@@ -1580,14 +1581,14 @@
                        title: this.translateSys("tip"),
                        content: tip,
                        showCancel: false,
                        confirmText: this.translateSys("cancel")
                        confirmText: this.translateSys('close')
                     });
                  } else uni.showModal({
                     title: this.translateSys("tip"),
                     content: tip + this.translateSys('comma') + this.translate('result') + this
                        .translateSys('colon') + data.ret,
                     showCancel: false,
                     confirmText: this.translateSys("cancel")
                     confirmText: this.translateSys('close')
                  });
                  return false
               } else {
@@ -1597,7 +1598,7 @@
                     title: this.translateSys("tip"),
                     content: tip,
                     showCancel: false,
                     confirmText: this.translateSys("cancel")
                     confirmText: this.translateSys('close')
                  });
                  var actionlist = data.action;
@@ -1754,7 +1755,7 @@
                                    "quotation_mark_right") + this.translate(
                                    "tip_action_unprocessed"),
                              showCancel: false,
                              confirmText: this.translateSys("cancel")
                              confirmText: this.translateSys('close')
                           });
                        }
                     }
@@ -1827,7 +1828,7 @@
                  title: this.translateSys("error") + "7.1",
                  content: ex.errMsg,
                  showCancel: false,
                  confirmText: this.translateSys("cancel")
                  confirmText: this.translateSys('close')
               });
            });
         },
@@ -1933,13 +1934,13 @@
                        title: this.translateSys("tip"),
                        content: tip,
                        showCancel: false,
                        confirmText: this.translateSys("cancel")
                        confirmText: this.translateSys('close')
                     });
                  } else uni.showModal({
                     title: this.translateSys("tip"),
                     content: tip + ',' + this.translateSys('tip') + ':' + data.ret,
                     showCancel: false,
                     confirmText: this.translateSys("cancel")
                     confirmText: this.translateSys('close')
                  });
                  this.saving = false
                  return false
@@ -1950,7 +1951,7 @@
                     title: this.translateSys("tip"),
                     content: tip,
                     showCancel: false,
                     confirmText: this.translateSys("cancel")
                     confirmText: this.translateSys('close')
                  });
                  var result = data.result;
@@ -1974,7 +1975,7 @@
                  title: this.translateSys("error") + "8.1",
                  content: ex.errMsg,
                  showCancel: false,
                  confirmText: this.translateSys("cancel")
                  confirmText: this.translateSys('close')
               });
            });
         },
@@ -2146,30 +2147,6 @@
         /* border: 1rpx solid red; */
      }
      button.btn_cancel {
         width: 49.5%;
         margin-top: 50rpx;
         padding: 20rpx;
         line-height: 1.5;
         border: none;
         font-size: 38rpx;
         font-weight: bold;
         float: left;
         display: inline-block;
      }
      button.btn_add {
         width: 49.5%;
         margin-top: 50rpx;
         padding: 20rpx;
         line-height: 1.5;
         border: none;
         font-size: 38rpx;
         font-weight: bold;
         float: right;
         display: inline-block;
      }
      #dv_select {
         display: inline-block;
         width: 66%;
@@ -2245,9 +2222,11 @@
         margin-top: 50rpx;
         padding: 20rpx;
         line-height: 1.5;
         background: #27A6E1;
         border: none;
         color: #fff;
         // background: #27A6E1;
         // border: none;
         // color: #fff;
         background: #fff;
         color: #000;
         font-size: 38rpx;
         font-weight: bold;
         float: left;
@@ -2394,7 +2373,7 @@
      .popup-footer {
         float: right;
         position: absolute;
         bottom: 0;
         bottom: 10rpx;
         right: 20rpx;
      }
@@ -2418,9 +2397,11 @@
         margin-top: 50rpx;
         padding: 15rpx;
         line-height: 1.5;
         background: #27A6E1;
         border: none;
         color: #fff;
         // background: #27A6E1;
         // border: none;
         // color: #fff;
         background: #fff;
         color: #000;
         font-size: 38rpx;
         font-weight: bold;
         /* float: right; */