diff --git a/public/images/homeWu/agency.png b/public/images/homeWu/agency.png new file mode 100644 index 00000000..10b3865e Binary files /dev/null and b/public/images/homeWu/agency.png differ diff --git a/src/components/Portal/interactBar.vue b/src/components/Portal/interactBar.vue index 4f2875f7..14123306 100644 --- a/src/components/Portal/interactBar.vue +++ b/src/components/Portal/interactBar.vue @@ -551,6 +551,19 @@ export default { this.messageSave(this.data.id,this.data.title,this.userInfo.name,curUser.name,curUser.aid,'分享给我的'); } } + let event = { + key: "Share",//后台的事件key + title: "被分享",//事件的标题 + parameters:"",//用户自定义参数 name:value,name:value + content: '被分享',//事件的内容 + objId: this.data.id,//关联的id + objType: this.type,//关联的类型 + objInfo: this.data.title, + aid: this.data.sysCreateAid, //当前登录人的id + aname: this.data.sysCreateBy,//当前人的姓名 + status: 1 //状态,直接写1 + } + this.$store.dispatch("userTrigger", event); }else{ this.$message.warning("您已分享给对方,分享失败") } diff --git a/src/components/PortalFloatTools.vue b/src/components/PortalFloatTools.vue index e1c49cf0..4596702b 100644 --- a/src/components/PortalFloatTools.vue +++ b/src/components/PortalFloatTools.vue @@ -136,7 +136,7 @@ export default { } }, computed: { - ...mapGetters(['identity']) + ...mapGetters(['identity','userInfo']) }, methods: { saveSuccess(){ @@ -162,6 +162,20 @@ export default { message:'提交意见成功' }); this.feedbackDlgShow=false; + + let event = { + key: "Feedback",//后台的事件key + title: "意见反馈",//事件的标题 + parameters:"",//用户自定义参数 name:value,name:value + content: '意见反馈',//事件的内容 + // objId: this.data.id,//关联的id + // objType: this.type,//关联的类型 + // objInfo: this.data.title, + aid: this.userInfo.aid, //当前登录人的id + aname: this.userInfo.name,//当前人的姓名 + status: 1 //状态,直接写1 + } + this.$store.dispatch("userTrigger", event); } else { this.$message({ type:'error', diff --git a/src/views/Index.vue b/src/views/Index.vue index 7ba3b521..5aeacbd5 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -12,10 +12,13 @@
- -

王明 10156597

-

信息技术研发中心|APP应用本部

-
代办3个待处理
+
+ +
+ +

{{userInfo.name}} {{userInfo.userNo}}

+

{{userInfo.departName}}

+
代办3个待处理
@@ -151,10 +151,21 @@ export default { height: 300px; } .edti-hist{ + position: absolute; + right: -10px; + top:-20px; + width: 380px; + padding-left: 30px; + box-sizing: border-box; margin: 0; font-size: 18px; font-weight: 600; color: #333333; + background: #FFFFFF; + box-shadow: -9px 2px 25px 0px rgba(119,119,119,0.16); + min-height: 400px; + overflow-y: auto; + border-radius: 4px; .histinfo{ // background: #F2F5F7; .hist-cont{ @@ -261,12 +272,19 @@ export default { } .box{ + position: relative; width: 100%; height: 100%; display: flex; .edit-box{ flex: 1; padding-right: 30px; + .his-info{ + float: right; + font-weight: 600 !important; + color: #333333 !important; + font-size: 18px; + } .edit-hear{ height: 40px; border-bottom: 1px solid #ddd; @@ -288,12 +306,7 @@ export default { } } } - .edti-hist{ - width: 478px; - // background-color: #F2F5F7; - padding-left: 30px; - box-sizing: border-box; - } + } \ No newline at end of file