Commit 67da29a8 by test

BUG fixed

1 parent af328321
......@@ -110,7 +110,7 @@
</div>
<!-- 添加附件 -->
<div class="g-card g-pad20 add-continue" v-show="form.materialMsgList.length <= 8">
<div class="g-card g-pad20 add-continue" v-show="form.materialMsgList.length <= 8 && showMore()">
<el-dropdown style="margin-left: 10px" @command="onInsertMaterial">
<div style="display: flex; align-items: center">
<img style="margin-right: 5px" :src="require('@/assets/drainageCode/plus-circle.png')" alt="" />继续添加附件
......
......@@ -18,7 +18,11 @@
<div class="right-menu">
<template v-if="device !== 'mobile'">
<!-- <search id="header-search" class="right-menu-item" /> -->
<el-tooltip content="企业微信-管理后台" effect="dark" placement="bottom">
<div class="right-menu-item hover-effect">
<img @click="goLink2()" style="height:20px;width:24px;margin-top:4px;" src="@/assets/image/wechat-logo.png"></img>
</div>
</el-tooltip>
<el-tooltip content="源码地址" effect="dark" placement="bottom">
<div class="right-menu-item hover-effect">
<svg-icon icon-class="github" @click="goto(0)" />
......@@ -103,6 +107,9 @@ export default {
goto(type) {
window.open(type ? 'https://www.yuque.com/linkwechat/help/dsatfs' : 'https://gitee.com/LinkWeChat/link-wechat')
},
goLink2 () {
window.open("https://work.weixin.qq.com/wework_admin/loginpage_wx?from=myhome_baidu", '_blank')
},
goLink(path) {
if (!isExternal(path)) {
this.$router.push({ path })
......
......@@ -103,15 +103,14 @@
</div>
</el-form-item>
</template>
<el-row :gutter="10">
<el-form-item label=" ">
<template v-for="(data, index) in detail.otherContent">
<el-col span="7">
<el-image style="width: 100px; height: 100px" v-if="data.annexType === 'image'" :src="data.annexUrl"></el-image>
</el-col>
</template>
</el-form-item>
</el-row>
<el-form-item label=" ">
<div class="img_list">
<div v-for="(data, index) in detail.otherContent">
<el-image class="item" style="width: 100px; height: 100px" :preview-src-list="[data.annexUrl]" v-if="data.annexType === 'image'" :src="data.annexUrl"></el-image>
</div>
</div>
</el-form-item>
<el-form-item label="已发送员工" v-if="detail.addUserName">
<el-tag v-for="(data, key) in detail.addUserName.split(',')" :key="key">{{data}}</el-tag>
</el-form-item>
......@@ -250,4 +249,15 @@
font-size: 12px;
align-self: flex-end;
}
.img_list {
display: flex;
flex-wrap: wrap;
width: 330px;
.item {
flex: 1;
width: 110px;
height: 100px;
margin-right: 5px;
}
}
</style>
......@@ -351,6 +351,7 @@
} else {
data.senderList = []
}
data.isAll = data.pushRange === 0 ? true : false
} else {
if (data.clientGroup === 1) {
data.senderList = this.selectCustomerGroupList.map((i) => { return { userId: i.owner } })
......@@ -382,7 +383,7 @@
})
this.msgSuccess('操作成功')
} else {
this.msgSuccess(res.msg || '操作失败')
this.msgError(res.msg || '操作失败')
}
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!