123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- "use strict";
- const common_vendor = require("../../../common/vendor.js");
- if (!Array) {
- const _easycom_up_upload2 = common_vendor.resolveComponent("up-upload");
- const _easycom_up_radio2 = common_vendor.resolveComponent("up-radio");
- const _easycom_up_radio_group2 = common_vendor.resolveComponent("up-radio-group");
- (_easycom_up_upload2 + _easycom_up_radio2 + _easycom_up_radio_group2)();
- }
- const _easycom_up_upload = () => "../../../node-modules/uview-plus/components/u-upload/u-upload.js";
- const _easycom_up_radio = () => "../../../node-modules/uview-plus/components/u-radio/u-radio.js";
- const _easycom_up_radio_group = () => "../../../node-modules/uview-plus/components/u-radio-group/u-radio-group.js";
- if (!Math) {
- (_easycom_up_upload + _easycom_up_radio + _easycom_up_radio_group)();
- }
- const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
- __name: "teacher",
- setup(__props) {
- const form = common_vendor.inject("form");
- const errors = common_vendor.inject("errors");
- const genderList = common_vendor.inject("genderList");
- const gradeList = common_vendor.inject("gradeList");
- const cardTypeList = common_vendor.inject("cardTypeList");
- const educationList = common_vendor.inject("educationList");
- const learnStatusList = common_vendor.inject("learnStatusList");
- const subjectList = common_vendor.inject("subjectList");
- const showList = common_vendor.inject("showList");
- const deletePic = common_vendor.inject("deletePic");
- const afterRead = common_vendor.inject("afterRead");
- const formSubmit = common_vendor.inject("formSubmit");
- const cardChange = common_vendor.inject("cardChange");
- const educationChange = common_vendor.inject("educationChange");
- const learnStatusChange = common_vendor.inject("learnStatusChange");
- const gradeChange = common_vendor.inject("gradeChange");
- const subjectChange = common_vendor.inject("subjectChange");
- return (_ctx, _cache) => {
- return common_vendor.e({
- a: common_vendor.unref(form)._id,
- b: common_vendor.o(common_vendor.unref(afterRead)),
- c: common_vendor.o(common_vendor.unref(deletePic)),
- d: common_vendor.p({
- fileList: common_vendor.unref(form).icon,
- name: "icon",
- multiple: true,
- maxCount: 1
- }),
- e: common_vendor.unref(form).nick_name,
- f: common_vendor.unref(errors).nick_name
- }, common_vendor.unref(errors).nick_name ? {
- g: common_vendor.t(common_vendor.unref(errors).nick_name)
- } : {}, {
- h: common_vendor.f(common_vendor.unref(genderList), (item, index, i0) => {
- return {
- a: index,
- b: "70f918ed-2-" + i0 + ",70f918ed-1",
- c: common_vendor.p({
- customStyle: {
- marginRight: "16px"
- },
- label: item.label,
- name: item.value
- })
- };
- }),
- i: common_vendor.o(($event) => common_vendor.unref(form).gender = $event),
- j: common_vendor.p({
- placement: "row",
- modelValue: common_vendor.unref(form).gender
- }),
- k: common_vendor.unref(errors).gender
- }, common_vendor.unref(errors).gender ? {
- l: common_vendor.t(common_vendor.unref(errors).gender)
- } : {}, {
- m: common_vendor.unref(form).age,
- n: common_vendor.unref(errors).age
- }, common_vendor.unref(errors).age ? {
- o: common_vendor.t(common_vendor.unref(errors).age)
- } : {}, {
- p: common_vendor.t(common_vendor.unref(form).cardType_name || "请选择身份证类型"),
- q: common_vendor.o(
- //@ts-ignore
- (...args) => common_vendor.unref(cardChange) && common_vendor.unref(cardChange)(...args)
- ),
- r: common_vendor.unref(cardTypeList),
- s: common_vendor.unref(form).card,
- t: common_vendor.unref(errors).card
- }, common_vendor.unref(errors).card ? {
- v: common_vendor.t(common_vendor.unref(errors).card)
- } : {}, {
- w: common_vendor.unref(form).phone,
- x: common_vendor.unref(errors).phone
- }, common_vendor.unref(errors).phone ? {
- y: common_vendor.t(common_vendor.unref(errors).phone)
- } : {}, {
- z: common_vendor.t(common_vendor.unref(form).education_name || "请选择学历"),
- A: common_vendor.o(
- //@ts-ignore
- (...args) => common_vendor.unref(educationChange) && common_vendor.unref(educationChange)(...args)
- ),
- B: common_vendor.unref(educationList),
- C: common_vendor.unref(form).college,
- D: common_vendor.t(common_vendor.unref(form).learnStatus_name || "请选择学业状态"),
- E: common_vendor.o(
- //@ts-ignore
- (...args) => common_vendor.unref(learnStatusChange) && common_vendor.unref(learnStatusChange)(...args)
- ),
- F: common_vendor.unref(learnStatusList),
- G: common_vendor.t(common_vendor.unref(form).grade_name || "请选择所教年级"),
- H: common_vendor.o(
- //@ts-ignore
- (...args) => common_vendor.unref(gradeChange) && common_vendor.unref(gradeChange)(...args)
- ),
- I: common_vendor.unref(gradeList),
- J: common_vendor.t(common_vendor.unref(form).subject_name || "请选择学科"),
- K: common_vendor.o(
- //@ts-ignore
- (...args) => common_vendor.unref(subjectChange) && common_vendor.unref(subjectChange)(...args)
- ),
- L: common_vendor.unref(subjectList),
- M: common_vendor.f(common_vendor.unref(showList), (item, index, i0) => {
- return {
- a: index,
- b: "70f918ed-4-" + i0 + ",70f918ed-3",
- c: common_vendor.p({
- customStyle: {
- marginRight: "16px"
- },
- label: item.label,
- name: item.value
- })
- };
- }),
- N: common_vendor.o(($event) => common_vendor.unref(form).is_show = $event),
- O: common_vendor.p({
- placement: "row",
- modelValue: common_vendor.unref(form).is_show
- }),
- P: common_vendor.unref(form).brief,
- Q: common_vendor.o(
- //@ts-ignore
- (...args) => common_vendor.unref(formSubmit) && common_vendor.unref(formSubmit)(...args)
- )
- });
- };
- }
- });
- const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-70f918ed"], ["__file", "D:/project/学吧/learn_applet/pagesMy/account/path/teacher.vue"]]);
- wx.createComponent(Component);
|