|
|
@@ -9,11 +9,13 @@ const utils_imageCompress = require("../../utils/imageCompress.js");
|
|
|
const utils_cos = require("../../utils/cos.js");
|
|
|
if (!Array) {
|
|
|
const _easycom_uni_datetime_picker2 = common_vendor.resolveComponent("uni-datetime-picker");
|
|
|
- _easycom_uni_datetime_picker2();
|
|
|
+ const _easycom_uni_easyinput2 = common_vendor.resolveComponent("uni-easyinput");
|
|
|
+ (_easycom_uni_datetime_picker2 + _easycom_uni_easyinput2)();
|
|
|
}
|
|
|
const _easycom_uni_datetime_picker = () => "../../uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.js";
|
|
|
+const _easycom_uni_easyinput = () => "../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js";
|
|
|
if (!Math) {
|
|
|
- _easycom_uni_datetime_picker();
|
|
|
+ (_easycom_uni_datetime_picker + _easycom_uni_easyinput)();
|
|
|
}
|
|
|
const _sfc_main = {
|
|
|
__name: "register",
|
|
|
@@ -354,8 +356,13 @@ const _sfc_main = {
|
|
|
p: visIdNumber.value,
|
|
|
q: common_vendor.o(($event) => visIdNumber.value = $event.detail.value)
|
|
|
} : {}, {
|
|
|
- r: visReason.value,
|
|
|
- s: common_vendor.o(($event) => visReason.value = $event.detail.value),
|
|
|
+ r: common_vendor.o(($event) => visReason.value = $event),
|
|
|
+ s: common_vendor.p({
|
|
|
+ type: "textarea",
|
|
|
+ maxlength: 50,
|
|
|
+ placeholder: "请输入访问事由(不超过50个字符)",
|
|
|
+ modelValue: visReason.value
|
|
|
+ }),
|
|
|
t: type.value == 1
|
|
|
}, type.value == 1 ? {
|
|
|
v: common_vendor.t(maxImgCount.value)
|