浏览代码

邀请加入团队

xiaohaizhao 1 年之前
父节点
当前提交
a1c3a47125
共有 2 个文件被更改,包括 39 次插入6 次删除
  1. 14 5
      static/iconfont/iconfont.css
  2. 25 1
      team/team/getInvite.vue

+ 14 - 5
static/iconfont/iconfont.css

@@ -1,8 +1,9 @@
 @font-face {
-  font-family: "iconfont"; /* Project id 4131149 */
-  src: url('//at.alicdn.com/t/c/font_4131149_s05pnd9g0jk.woff2?t=1715145392579') format('woff2'),
-       url('//at.alicdn.com/t/c/font_4131149_s05pnd9g0jk.woff?t=1715145392579') format('woff'),
-       url('//at.alicdn.com/t/c/font_4131149_s05pnd9g0jk.ttf?t=1715145392579') format('truetype');
+  font-family: "iconfont";
+  /* Project id 4131149 */
+  src: url('//at.alicdn.com/t/c/font_4131149_hoe3juck786.woff2?t=1715763659602') format('woff2'),
+    url('//at.alicdn.com/t/c/font_4131149_hoe3juck786.woff?t=1715763659602') format('woff'),
+    url('//at.alicdn.com/t/c/font_4131149_hoe3juck786.ttf?t=1715763659602') format('truetype');
 }
 
 .iconfont {
@@ -13,6 +14,14 @@
   -moz-osx-font-smoothing: grayscale;
 }
 
+.icon-baocunbendi:before {
+  content: "\e6d0";
+}
+
+.icon-weixin:before {
+  content: "\e6d1";
+}
+
 .icon-a-biaoqianlanshouyexuanzhong:before {
   content: "\e606";
 }
@@ -151,4 +160,4 @@
 
 .icon-dizhi-hui:before {
   content: "\e6af";
-}
+}

+ 25 - 1
team/team/getInvite.vue

@@ -134,7 +134,23 @@ export default {
                 isMust: false,//是否必填
                 value: "",
             }];
-            this.form = form;
+            this.$Http.basic({
+                "id": 20240510104102,
+                "content": {},
+            }).then(res => {
+                console.log("获取个人信息", res)
+                // if (this.cutoff(res.msg)) return;
+                if (res.msg == '成功') {
+                    this.headportraits = res.data.attinfos;
+                    this.headportrait = this.headportraits.find(v => v.usetype == "headportrait").url || this.headportrait;
+                    form = form.map(v => {
+                        v.value = res.data[v.key] || v.value
+                        return v
+                    })
+                }
+                this.form = form;
+            })
+
         },
         isUncomplete(uncomplete) {
             this.uncomplete = uncomplete;
@@ -157,7 +173,15 @@ export default {
                     if (this.attachmentids.length) {
                         this.uploadCallback(this.attachmentids, "sys_users", this.userid).then(s => {
                             if (s) getUserMsg()
+                        });
+                        if (this.headportraits.length) this.$Http.basic({
+                            "classname": "system.attachment.Attachment",
+                            "method": "deleteFileLink",
+                            "content": {
+                                linksids: this.headportraits.map(v => v.linksid)
+                            }
                         })
+
                     } else {
                         getUserMsg()
                     }