闫增涛
2024-04-01 aa2c08b3be23a01d44205b2c19d21a2bf53f944f
packageDomain/pages/teacherCertification/index.js
@@ -45,6 +45,7 @@
    editState: true,
    reasonTxt: "",
    reasonTxtShow: false,
    skeletonLoding: true,
  },
  /**
@@ -99,7 +100,8 @@
      if (res) {
        this.getType()
        this.setData({
          userId: res.userId
          userId: res.userId,
          skeletonLoding: true,
        })
        let nickNameData = res.infoList.find((item) => item.type == 'nickName')
        let teacherRole = res.roleLinks.find((item) => item.role.refCode == 'teacher')
@@ -185,6 +187,7 @@
            topicId: resData.id,
            topicMessageList: resData.cmsItemDataList,
            teachText: info.positionalTitle,
            skeletonLoding: false,
          })
          if (resData.feedBack != null) {
            that.setData({
@@ -355,6 +358,14 @@
  // 上传图片事件
  chooseImg(e) {
    var that = this;
    if (that.data.imgPics.length == 4) {
      wx.showToast({
        title: "工作证文件不超过5个!",
        icon: 'none',
        duration: 1000,
      })
      return
    }
    wx.chooseMedia({
      count: 1,
      sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有