Commit ff4223fd by xinla

Merge branch 'front_end_dev_2.0' of https://gitee.com/LinkWeChat/link-wechat into front_end_dev_2.0

2 parents 88709a66 c44bd1ab
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
</div> </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"> <el-dropdown style="margin-left: 10px" @command="onInsertMaterial">
<div style="display: flex; align-items: center"> <div style="display: flex; align-items: center">
<img style="margin-right: 5px" :src="require('@/assets/drainageCode/plus-circle.png')" alt="" />继续添加附件 <img style="margin-right: 5px" :src="require('@/assets/drainageCode/plus-circle.png')" alt="" />继续添加附件
......
...@@ -18,7 +18,11 @@ ...@@ -18,7 +18,11 @@
<div class="right-menu"> <div class="right-menu">
<template v-if="device !== 'mobile'"> <template v-if="device !== 'mobile'">
<!-- <search id="header-search" class="right-menu-item" /> --> <!-- <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"> <el-tooltip content="源码地址" effect="dark" placement="bottom">
<div class="right-menu-item hover-effect"> <div class="right-menu-item hover-effect">
<svg-icon icon-class="github" @click="goto(0)" /> <svg-icon icon-class="github" @click="goto(0)" />
...@@ -103,6 +107,9 @@ export default { ...@@ -103,6 +107,9 @@ export default {
goto(type) { goto(type) {
window.open(type ? 'https://www.yuque.com/linkwechat/help/dsatfs' : 'https://gitee.com/LinkWeChat/link-wechat') 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) { goLink(path) {
if (!isExternal(path)) { if (!isExternal(path)) {
this.$router.push({ path }) this.$router.push({ path })
......
...@@ -103,15 +103,13 @@ ...@@ -103,15 +103,13 @@
</div> </div>
</el-form-item> </el-form-item>
</template> </template>
<el-row :gutter="10"> <el-form-item label=" ">
<el-form-item label=" "> <div class="img_list">
<template v-for="(data, index) in detail.otherContent"> <div v-for="(data, index) in detail.otherContent">
<el-col span="7"> <el-image class="item" style="width: 100px; height: 100px" :preview-src-list="[data.annexUrl]" v-if="data.annexType === 'image'" :src="data.annexUrl"></el-image>
<el-image style="width: 100px; height: 100px" v-if="data.annexType === 'image'" :src="data.annexUrl"></el-image> </div>
</el-col> </div>
</template> </el-form-item>
</el-form-item>
</el-row>
<el-form-item label="已发送员工" v-if="detail.addUserName"> <el-form-item label="已发送员工" v-if="detail.addUserName">
<el-tag v-for="(data, key) in detail.addUserName.split(',')" :key="key">{{data}}</el-tag> <el-tag v-for="(data, key) in detail.addUserName.split(',')" :key="key">{{data}}</el-tag>
</el-form-item> </el-form-item>
...@@ -250,4 +248,15 @@ ...@@ -250,4 +248,15 @@
font-size: 12px; font-size: 12px;
align-self: flex-end; align-self: flex-end;
} }
.img_list {
display: flex;
flex-wrap: wrap;
width: 330px;
.item {
flex: 1;
width: 110px;
height: 100px;
margin-right: 5px;
}
}
</style> </style>
...@@ -115,19 +115,19 @@ ...@@ -115,19 +115,19 @@
</div> </div>
</el-form-item> </el-form-item>
</template> </template>
<el-row :gutter="10"> <el-form-item label=" ">
<el-form-item label=" "> <div class="img_list">
<template v-for="(data, index) in detail.otherContent"> <div v-for="(data, index) in detail.otherContent">
<el-col span="7" :key="index"> <el-image
<el-image class="item"
style="width: 100px; height: 100px" style="width: 100px; height: 100px"
v-if="data.annexType === 'image'" :preview-src-list="[data.annexUrl]"
:src="data.annexUrl" v-if="data.annexType === 'image'"
></el-image> :src="data.annexUrl"
</el-col> ></el-image>
</template> </div>
</el-form-item> </div>
</el-row> </el-form-item>
<el-form-item label="点赞客户:" v-if="detail.pointCustomerName"> <el-form-item label="点赞客户:" v-if="detail.pointCustomerName">
<el-tag v-for="(data, key) in detail.pointCustomerName.split(',')" :key="key">{{ <el-tag v-for="(data, key) in detail.pointCustomerName.split(',')" :key="key">{{
data data
...@@ -276,4 +276,15 @@ export default { ...@@ -276,4 +276,15 @@ export default {
font-size: 12px; font-size: 12px;
align-self: flex-end; align-self: flex-end;
} }
.img_list {
display: flex;
flex-wrap: wrap;
width: 330px;
.item {
flex: 1;
width: 110px;
height: 100px;
margin-right: 5px;
}
}
</style> </style>
...@@ -351,6 +351,7 @@ ...@@ -351,6 +351,7 @@
} else { } else {
data.senderList = [] data.senderList = []
} }
data.isAll = data.pushRange === 0 ? true : false
} else { } else {
if (data.clientGroup === 1) { if (data.clientGroup === 1) {
data.senderList = this.selectCustomerGroupList.map((i) => { return { userId: i.owner } }) data.senderList = this.selectCustomerGroupList.map((i) => { return { userId: i.owner } })
...@@ -382,7 +383,7 @@ ...@@ -382,7 +383,7 @@
}) })
this.msgSuccess('操作成功') this.msgSuccess('操作成功')
} else { } 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!