"use strict"; const common_vendor = require("../../common/vendor.js"); const utils_nation = require("../../utils/nation.js"); const _sfc_main = { data() { return { cdnBaseImg: this.G.store().cdnBaseImg, localBaseImg: this.G.store().localBaseImg, msgCode: { // 短信倒计时 code: "", btnText: "获取验证码", // 6s countdown: -1, timer: null }, nationData: { list: null, index: 0 }, sexList: [ { name: "男", tip: 1, mr: 24 }, { name: "女", tip: 2, mr: 0 } ], caiwuToggle: false, zhengceModal: { isShow: false }, zhengceList: [], chooseImg: { chooseImgShow: false, type: "" } // 选择上传图片类型的弹窗显示 }; }, props: { list: { type: Array, default: () => { return []; } }, defaultOption: { type: Array, default: () => { return []; } }, jobInfo: { type: Number, default: 0 } }, created() { this.localBaseImg = this.G.store().localBaseImg; this.nationData.list = utils_nation.nationlist.map((item, index) => { return item.name; }); this.zhengceList = this.defaultOption; }, watch: { defaultOption(val) { this.zhengceList = val; } }, onHide() { if (this.msgCode.timer) { clearInterval(this.msgCode.timer); } }, methods: { // 验证码 handleCode(e, $item, $index) { this.$emit("changeCode", e); }, // 新密码 handleNewPwd(e, $item, $index) { this.$emit("changeNewPwd", e); }, handleChangeNewPwd(e, $item, $index) { common_vendor.index.__f__("log", "at components/panel/formSlot.vue:339", e); }, // 确认密码 handleConfirmPwd(e, $item, $index) { this.$emit("changeConfirmPwd", e); }, // 姓名 handleName(e, $item, $index) { common_vendor.index.__f__("log", "at components/panel/formSlot.vue:347", e); if (e && e.trim().length > 30) { common_vendor.index.showToast({ title: "不能超过30个字", icon: "none" }); } if ($item.tip == "slot-weChat") { this.$emit("changeWeChat", e, $item); } else { this.$emit("changeName", e, $item); } }, // 性别 handleSex(e, $item, $index) { common_vendor.index.__f__("log", "at components/panel/formSlot.vue:362", "性别选择", e); $item.value = e; this.$emit("changeSex", e); }, // 年龄 handleAge(e, $item, $index) { this.$emit("changeAge", e); }, // 民族 handleNation(e, $item, $index) { let that = this; that.list.filter((item, index) => { return index == $index; })[0].value = that.nationData.list[e.detail.value]; that.list.filter((item, index) => { return index == $index; })[0].nationIndex = e.detail.value; that.$emit("changeNation", { e, name: that.nationData.list[e.detail.value], index: e.detail.value }); }, // 身份证号 handleIDcard(e, $item, $index) { this.$emit("changeIDcard", e); }, // 家庭住址 handleAddress(e, $item, $index) { common_vendor.index.__f__("log", "at components/panel/formSlot.vue:392", "eeeeeeeee", e); this.$emit("changeAddress", e); }, // 多文字输入框 handleMoreWord(e, $item, $index) { common_vendor.index.__f__("log", "at components/panel/formSlot.vue:397", e); common_vendor.index.__f__("log", "at components/panel/formSlot.vue:398", $item); if ($item.maxlength && $item.value && $item.value.trim().length >= $item.maxlength) { common_vendor.index.showToast({ title: `不能超过${$item.maxlength}个字`, icon: "none" }); } this.$emit("changeMoreWord", e, $item); }, // 地图选择地址 chooseAddress(_item) { let that = this; common_vendor.index.__f__("log", "at components/panel/formSlot.vue:410", _item); let obj = {}; if (_item.addressDetail) { obj = { latitude: _item.addressDetail.latitude, longitude: _item.addressDetail.longitude }; } common_vendor.index.chooseLocation({ ...obj, success(e) { common_vendor.index.__f__("log", "at components/panel/formSlot.vue:421", e); let res = {}; var reg = /.+?(省|市|自治区|自治州|县|区)/g; if (e.address) { let arr = e.address.match(reg); res.district = [arr[0], arr[1]].join(" "); res.address = e.address; res.addressName = e.name; } res.lat = e.latitude; res.lng = e.longitude; common_vendor.index.__f__("log", "at components/panel/formSlot.vue:432", "resresresres", res); that.$emit("chooseAddress", res); }, fail(e) { common_vendor.index.__f__("log", "at components/panel/formSlot.vue:436", "err", e); } }); }, // 发送验证码 handleSendMsg(tel, verifyTel) { let that = this; if (this.msgCode.countdown > 0 || !that.G.setReg(tel, "tel")) { if (!that.G.setReg(tel, "tel")) { common_vendor.index.showToast({ icon: "none", title: "请输入正确的手机号" }); } return; } if (verifyTel && verifyTel != tel) { common_vendor.index.showToast({ icon: "none", title: "请输入对应的手机号" }); return; } that.G.Get( that.api.login_sendMsg, { tel, type: "assistant" }, (res) => { that.msgCode.countdown = 59; that.msgCode.btnText = that.msgCode.countdown + "s"; clearInterval(that.msgCode.timer); that.msgCode.timer = setInterval(() => { if (that.msgCode.countdown > 0) { that.msgCode.countdown--; that.msgCode.btnText = that.msgCode.countdown + "s"; } else { clearInterval(that.msgCode.timer); that.msgCode.timer = null; that.msgCode.btnText = "获取验证码"; } }, 1e3); } ); }, // 上传图片 updateImg(sourceType) { let that = this; common_vendor.index.__f__("log", "at components/panel/formSlot.vue:486", "updateImg"); if (sourceType == "camera") { that.G.uploadImgByCamera((res) => { common_vendor.index.__f__("log", "at components/panel/formSlot.vue:489", "身份证信息:", res); if (res.status == "上传成功") { that.$emit("updateIDInfo", res); } else { that.showToast({ title: "上传失败请重试", icon: "none" }); } common_vendor.index.hideLoading(); that.chooseImg.chooseImgShow = false; }, "idcard"); } else { that.G.uploadImgByAlbum((res) => { common_vendor.index.__f__("log", "at components/panel/formSlot.vue:503", "身份证信息:", res); if (res.status == "上传成功") { that.$emit("updateIDInfo", res); } else { that.showToast({ title: "上传失败请重试", icon: "none" }); } common_vendor.index.hideLoading(); that.chooseImg.chooseImgShow = false; }, "idcard"); } }, // 上传图片 uploadQRCode() { let that = this; that.G.cropBeforeUpload({ cropScale: "1:1", success: (res) => { common_vendor.index.__f__("log", "at components/panel/formSlot.vue:523", res); that.$emit("updateFile", res.image); }, fail: (err) => { common_vendor.index.__f__("log", "at components/panel/formSlot.vue:527", err); } }); }, chooseImgType(type) { common_vendor.index.hideKeyboard(); this.chooseImg.chooseImgShow = true; this.chooseImg.type = type; }, // 在会话上传文件 uploadPhotoByChat() { let that = this; let count = 1; if (this.chooseImg.type == "img") { count = 5; } common_vendor.index.chooseMessageFile({ count, type: "image", success(res) { common_vendor.index.__f__("log", "at components/panel/formSlot.vue:547", "successsuccesssuccesssuccess", res); if (res.errMsg == "chooseMessageFile:ok") { res.tempFiles.forEach((item, index) => { if (that.chooseImg.type == "img") { that.G.uploadTmpImg(item.path, (imgRes) => { that.$emit("updateFile", imgRes.image); }); } else if (that.chooseImg.type == "IDCard") { that.G.recognizeTmpIDcard([item.path], (cardData) => { if (cardData.status == "上传成功") { that.$emit("updateIDInfo", cardData); } else { that.showToast({ title: "上传失败请重试", icon: "none" }); } }); } }); } that.chooseImg.chooseImgShow = false; } }); }, // 上传图片 uploadPhoto(sourceType) { let that = this; if (that.chooseImg.type == "img") { if (sourceType == "camera") { that.G.uploadImgByCamera((res) => { common_vendor.index.__f__("log", "at components/panel/formSlot.vue:582", "uploadImgByCamera", res); that.$emit("updateFile", res.image); that.chooseImg.chooseImgShow = false; }); } else { that.G.uploadImgByAlbum((res) => { common_vendor.index.__f__("log", "at components/panel/formSlot.vue:588", "uploadImgByAlbum", res); that.$emit("updateFile", res.image); that.chooseImg.chooseImgShow = false; }); } } else if (that.chooseImg.type == "IDCard") { that.updateImg(sourceType); } }, // 更新政策 uploadZhengce() { let that = this; let ids = ""; if (this.jobInfo == 0) { common_vendor.index.showToast({ icon: "none", title: "请选择职位" }); return false; } that.zhengceList.filter((item) => { return ids.indexOf(item.id) > -1; }).forEach((item, index) => { item.isSelected = true; }); that.zhengceModal.isShow = true; }, handleChooseZhengce($item, $index) { let that = this; that.zhengceList.forEach((item, index) => { if (index == $index) { if (item.isSelected) { item.isSelected = false; } else { item.isSelected = true; } } else { item.isSelected = false; } }); }, submitZhengce() { let that = this; let ids = []; ids = that.zhengceList.filter((item) => { return item.isSelected; }).map((item) => { return item.id; }); if (ids.length == 0) { common_vendor.index.showToast({ title: "请选择一个政策", icon: "none" }); return false; } that.zhengceModal.isShow = false; that.$emit("updateZhengce", { onSiteUserIds: ids.join(","), item: that.zhengceList.filter((item) => { return item.isSelected; })[0] }); }, handleStartChangeAvatar(e) { let that = this; common_vendor.index.__f__("log", "at components/panel/formSlot.vue:661", e); that.G.uploadTmpImg(e.detail.avatarUrl, (res) => { common_vendor.index.__f__("log", "at components/panel/formSlot.vue:663", "微信:", res.image); that.$emit("updateImg", res.image); }); }, handleOpenAvatar() { let that = this; common_vendor.index.showActionSheet({ itemList: ["从相册选择", "使用相机"], success: function(res) { if (res.tapIndex == 0) { common_vendor.index.__f__("log", "at components/panel/formSlot.vue:673", "点击相册"); that.setAvatar(["album"]); } else { common_vendor.index.__f__("log", "at components/panel/formSlot.vue:677", "点击拍照"); that.setAvatar(["camera"]); } }, fail: function(res) { } }); }, setAvatar($type) { let that = this; that.G.uploadImg( (res) => { common_vendor.index.__f__("log", "at components/panel/formSlot.vue:689", "其他:", res.image); that.$emit("updateImg", res.image); }, "default", 1, $type ); }, handleResult(e) { this.$emit("clickResult", e); }, handleMobile(e, $item, $index) { this.$emit("changeMobile", e, $item); }, handleMianshi(e, $item, $index) { this.$emit("changeTime", e); } } }; if (!Array) { const _easycom_u_input2 = common_vendor.resolveComponent("u-input"); const _easycom_u_radio2 = common_vendor.resolveComponent("u-radio"); const _easycom_u_radio_group2 = common_vendor.resolveComponent("u-radio-group"); const _component_g_panel_detail_item = common_vendor.resolveComponent("g-panel-detail-item"); const _easycom_u_popup2 = common_vendor.resolveComponent("u-popup"); const _component_g_button = common_vendor.resolveComponent("g-button"); const _component_g_panel_fixed = common_vendor.resolveComponent("g-panel-fixed"); (_easycom_u_input2 + _easycom_u_radio2 + _easycom_u_radio_group2 + _component_g_panel_detail_item + _easycom_u_popup2 + _component_g_button + _component_g_panel_fixed)(); } const _easycom_u_input = () => "../../uni_modules/vk-uview-ui/components/u-input/u-input.js"; const _easycom_u_radio = () => "../../uni_modules/vk-uview-ui/components/u-radio/u-radio.js"; const _easycom_u_radio_group = () => "../../uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group.js"; const _easycom_u_popup = () => "../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js"; if (!Math) { (_easycom_u_input + _easycom_u_radio + _easycom_u_radio_group + _easycom_u_popup)(); } function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return common_vendor.e({ a: common_vendor.f($props.list, (item, index, i0) => { return common_vendor.e({ a: item }, item ? common_vendor.e({ b: item.icon }, item.icon ? { c: common_vendor.n("t-" + item.icon) } : {}, { d: common_vendor.t(item.label), e: item.require ? 1 : "", f: item.customRequire ? 1 : "", g: item.result }, item.result ? { h: common_vendor.t(item.result), i: common_vendor.n(item.fontColor), j: common_vendor.o(($event) => $options.handleResult(item), index) } : {}, { k: item.tip == "code" }, item.tip == "code" ? {} : {}, { l: item.tip == "avatar" }, item.tip == "avatar" ? { m: item.value } : {}, { n: item.tip == "update-avatar" }, item.tip == "update-avatar" ? { o: item.value || $data.localBaseImg + "default.svg", p: common_vendor.o((...args) => $options.handleOpenAvatar && $options.handleOpenAvatar(...args), index) } : {}, { q: item.tip == "update-QRCode" }, item.tip == "update-QRCode" ? { r: item.img || $data.localBaseImg + "default.svg", s: common_vendor.o((...args) => $options.uploadQRCode && $options.uploadQRCode(...args), index) } : {}, { t: item.tip && item.tip.indexOf("slot") > -1 }, item.tip && item.tip.indexOf("slot") > -1 ? common_vendor.e({ v: item.tip == "slot-code" }, item.tip == "slot-code" ? { w: common_vendor.o((e) => $options.handleCode(e, item, index), index), x: "48aead7f-0-" + i0, y: common_vendor.o(($event) => item.value = $event, index), z: common_vendor.p({ maxlength: "4", type: "number", ["custom-style"]: { fontSize: item.fontSize || " 16px" }, clearable: false, ["password-icon"]: false, placeholder: item.placeholder, ["input-align"]: "right", ["placeholder-style"]: "color:#999;font-size:16px;", modelValue: item.value }), A: common_vendor.t($data.msgCode.btnText), B: common_vendor.o(($event) => $options.handleSendMsg(item.tel, item.verifyTel), index), C: $data.msgCode.countdown >= 0 && $data.msgCode.countdown < 60 ? "#dddddd" : "#00b666" } : {}, { D: item.tip == "slot-new-pwd" }, item.tip == "slot-new-pwd" ? { E: common_vendor.o((e) => $options.handleNewPwd(e, item, index), index), F: "48aead7f-1-" + i0, G: common_vendor.o(($event) => item.value = $event, index), H: common_vendor.p({ type: "password", ["custom-style"]: { fontSize: item.fontSize || " 16px" }, clearable: false, ["password-icon"]: false, placeholder: item.placeholder, ["input-align"]: "right", ["placeholder-style"]: "color:#999;font-size:16px;line-height:1", modelValue: item.value }) } : {}, { I: item.tip == "slot-confirm-pwd" }, item.tip == "slot-confirm-pwd" ? { J: common_vendor.o((e) => $options.handleConfirmPwd(e, item, index), index), K: "48aead7f-2-" + i0, L: common_vendor.o(($event) => item.value = $event, index), M: common_vendor.p({ type: "password", ["custom-style"]: { fontSize: item.fontSize || " 16px" }, clearable: false, ["password-icon"]: false, placeholder: item.placeholder, ["input-align"]: "right", ["placeholder-style"]: "color:#999;font-size:16px;line-height:1", modelValue: item.value }) } : {}, { N: item.tip == "slot-name" || item.tip == "slot-upID" || item.tip == "slot-weChat" }, item.tip == "slot-name" || item.tip == "slot-upID" || item.tip == "slot-weChat" ? common_vendor.e({ O: common_vendor.o((e) => $options.handleName(e, item, index), index), P: common_vendor.o((e) => $options.handleName(e, item, index), index), Q: "48aead7f-3-" + i0, R: common_vendor.o(($event) => item.value = $event, index), S: common_vendor.p({ type: "text", ["hover-stop-propagation"]: true, maxlength: 30, ["custom-style"]: { fontSize: item.fontSize || " 16px" }, clearable: false, ["password-icon"]: false, placeholder: item.placeholder, ["input-align"]: "right", ["placeholder-style"]: "color:#999;font-size:16px;line-height:1", modelValue: item.value }), T: item.tip == "slot-upID" }, item.tip == "slot-upID" ? { U: item.img || $data.cdnBaseImg + "mock_photo1.svg", V: common_vendor.o(($event) => $options.chooseImgType("IDCard"), index) } : {}) : {}, { W: item.tip == "slot-sex" }, item.tip == "slot-sex" ? { X: common_vendor.f($data.sexList, (sexItem, sexIndex, i1) => { return { a: common_vendor.t(sexItem.name), b: sexIndex, c: "48aead7f-5-" + i0 + "-" + i1 + "," + ("48aead7f-4-" + i0), d: common_vendor.p({ mr: sexItem.mr, name: sexItem.tip }) }; }), Y: common_vendor.o((e) => $options.handleSex(e, item, index), index), Z: "48aead7f-4-" + i0, aa: common_vendor.o(($event) => item.value = $event, index), ab: common_vendor.p({ ["active-color"]: "#6A81FF", modelValue: item.value }) } : {}, { ac: item.tip == "slot-age" }, item.tip == "slot-age" ? { ad: common_vendor.o((e) => $options.handleAge(e, item, index), index), ae: "48aead7f-6-" + i0, af: common_vendor.o(($event) => item.value = $event, index), ag: common_vendor.p({ type: "number", clearable: false, ["password-icon"]: false, placeholder: item.placeholder, ["input-align"]: "right", ["custom-style"]: { fontSize: item.fontSize || " 16px" }, ["placeholder-style"]: "color:#999;font-size:16px;line-height:1", modelValue: item.value }) } : {}, { ah: item.tip == "slot-nation" }, item.tip == "slot-nation" ? { ai: common_vendor.t($data.nationData.list[item.nationIndex] || "请选择民族"), aj: common_vendor.n($data.nationData.list[item.nationIndex] ? "g_c_3" : "g_c_9"), ak: common_vendor.o((e) => $options.handleNation(e, item, index), index), al: item.nationIndex, am: $data.nationData.list } : {}, { an: item.tip == "slot-code-idcard" }, item.tip == "slot-code-idcard" ? { ao: common_vendor.o((e) => $options.handleIDcard(e, item, index), index), ap: "48aead7f-7-" + i0, aq: common_vendor.o(($event) => item.value = $event, index), ar: common_vendor.p({ type: "idcard", clearable: false, maxlength: 18, ["custom-style"]: { fontSize: item.fontSize || " 16px" }, ["password-icon"]: false, placeholder: item.placeholder, ["input-align"]: "right", ["placeholder-style"]: "color:#999;font-size:16px;line-height:1", modelValue: item.value }) } : {}, { as: item.tip == "slot-address" }, item.tip == "slot-address" ? { at: common_vendor.o((e) => $options.handleAddress(e, item, index), index), av: "48aead7f-8-" + i0, aw: common_vendor.o(($event) => item.value = $event, index), ax: common_vendor.p({ type: "text", clearable: false, ["custom-style"]: { fontSize: item.fontSize || " 16px" }, ["password-icon"]: false, placeholder: item.placeholder, ["input-align"]: "right", ["placeholder-style"]: "color:#999;font-size:16px;line-height:1", modelValue: item.value }) } : {}, { ay: item.tip == "slot-choose-address" }, item.tip == "slot-choose-address" ? { az: common_vendor.t(item.value || item.placeholder), aA: common_vendor.n(item.value ? "g_c_3" : "g_c_9"), aB: common_vendor.o(($event) => $options.chooseAddress(item), index), aC: common_vendor.n(item.suffix), aD: common_vendor.o(($event) => $options.chooseAddress(item), index) } : {}, { aE: item.tip == "slot-choose&input-address" }, item.tip == "slot-choose&input-address" ? common_vendor.e({ aF: item.uneditable }, item.uneditable ? { aG: common_vendor.t(item.value || "-") } : { aH: common_vendor.o((e) => $options.handleAddress(e, item, index), index), aI: "48aead7f-9-" + i0, aJ: common_vendor.o(($event) => item.value = $event, index), aK: common_vendor.p({ maxlength: "1000", type: "textarea", placeholder: item.placeholder, ["placeholder-style"]: "color:#999;line-height:24px", clearable: false, customStyle: { fontSize: "16px", "text-align": "right", "min-height": "24px", "line-height": "24px" }, modelValue: item.value }), aL: common_vendor.n(item.suffix), aM: common_vendor.o(($event) => $options.chooseAddress(item), index) }) : {}, { aN: item.tip == "slot-mobile" }, item.tip == "slot-mobile" ? { aO: common_vendor.o((e) => $options.handleMobile(e, item, index), index), aP: "48aead7f-10-" + i0, aQ: common_vendor.o(($event) => item.value = $event, index), aR: common_vendor.p({ type: "number", disabled: item.disabled, ["custom-style"]: { fontSize: item.fontSize || " 16px", color: item.disabled ? "#999" : "#333" }, clearable: false, ["password-icon"]: false, maxlength: 13, placeholder: item.placeholder, ["input-align"]: "right", ["placeholder-style"]: "color:#999;font-size:16px;line-height:1", modelValue: item.value }) } : {}, { aS: item.tip == "slot-more-word" }, item.tip == "slot-more-word" ? { aT: common_vendor.o((e) => $options.handleMoreWord(e, item, index), index), aU: common_vendor.o((e) => $options.handleMoreWord(e, item, index), index), aV: "48aead7f-11-" + i0, aW: common_vendor.o(($event) => item.value = $event, index), aX: common_vendor.p({ maxlength: "1000", type: "textarea", placeholder: item.placeholder, ["placeholder-style"]: "color:#999", clearable: false, customStyle: { fontSize: "16px", "text-align": "right", "min-height": "24px", "line-height": "24px" }, modelValue: item.value }) } : {}, { aY: item.tip == "slot-time" }, item.tip == "slot-time" ? { aZ: common_vendor.o($options.handleMianshi, index), ba: "48aead7f-12-" + i0, bb: common_vendor.p({ from: item.from, label: " ", isShowBottom: false, value: item.value, afterType: "time" }) } : {}, { bc: item.tip == "slot-update-file" }, item.tip == "slot-update-file" ? { bd: common_vendor.o(($event) => $options.chooseImgType("img"), index) } : {}, { be: item.tip == "slot-caiwu" }, item.tip == "slot-caiwu" ? { bf: common_vendor.t(item.value || "-"), bg: common_vendor.n($data.caiwuToggle ? "" : "g_ell_3"), bh: common_vendor.n(item.value.length > 1 ? "g_text_l" : "g_text_r") } : {}, { bi: item.tip == "slot-zhengce" }, item.tip == "slot-zhengce" ? { bj: common_vendor.t(item.value), bk: common_vendor.o((...args) => $options.uploadZhengce && $options.uploadZhengce(...args), index) } : {}, { bl: item.type != "slot" ? "calc(100% - 16px)" : item.tip == "slot-choose-address" ? "calc(100% - 22px)" : "100%" }) : {}, { bm: item.type != "slot" }, item.type != "slot" ? { bn: common_vendor.o(($event) => item.path ? $options.handleResult(item) : "", index) } : {}, { bo: item.tip == "slot-zhengce" }, item.tip == "slot-zhengce" ? { bp: common_vendor.n(item.suffix), bq: common_vendor.o((...args) => $options.uploadZhengce && $options.uploadZhengce(...args), index) } : {}, { br: (item.pColumn ? item.pColumn : 19) + "px", bs: (item.pColumn ? item.pColumn : 19) + "px", bt: (item.pRow ? item.pRow : 10) + "px", bv: (item.pRow ? item.pRow : 10) + "px" }) : {}, { bw: index }); }), b: $props.list.filter((item) => { return item && item.tip == "slot-caiwu"; }).length }, $props.list.filter((item) => { return item && item.tip == "slot-caiwu"; }).length ? { c: common_vendor.t($data.caiwuToggle ? "收起" : "展开"), d: common_vendor.n($data.caiwuToggle ? "icon_down" : "icon_up"), e: common_vendor.o(($event) => $data.caiwuToggle = !$data.caiwuToggle) } : {}, { f: $props.list[0] && $props.list[0].radius == "no_top" ? "0 0 8px 8px" : $props.list[0] && $props.list[0].radius == "no_bottom" ? "8px 8px 0 0 " : "", g: common_vendor.o(($event) => $options.uploadPhoto("camera")), h: common_vendor.o((...args) => $options.uploadPhotoByChat && $options.uploadPhotoByChat(...args)), i: common_vendor.o(($event) => $options.uploadPhoto("album")), j: common_vendor.o(($event) => $data.chooseImg.chooseImgShow = false), k: common_vendor.o(($event) => $data.chooseImg.chooseImgShow = false), l: common_vendor.o(($event) => $data.chooseImg.chooseImgShow = $event), m: common_vendor.p({ mode: "bottom", ["z-index"]: "999999", ["border-radius"]: "12", closeable: false, ["mask-close-able"]: true, modelValue: $data.chooseImg.chooseImgShow }), n: common_vendor.f($data.zhengceList, (item, index, i0) => { return { a: common_vendor.t(item.name), b: item.isSelected ? "#6A81FF" : "#fff", c: index, d: common_vendor.o(($event) => $options.handleChooseZhengce(item, index), index) }; }), o: common_vendor.o($options.submitZhengce), p: common_vendor.p({ btnText: "确定", type: "primary" }), q: common_vendor.o(($event) => $data.zhengceModal.isShow = $event), r: common_vendor.p({ mode: "bottom", ["border-radius"]: "16", height: "980", ["mask-close-able"]: true, modelValue: $data.zhengceModal.isShow }) }); } const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); wx.createComponent(Component); //# sourceMappingURL=../../../.sourcemap/mp-weixin/components/panel/formSlot.js.map