Commit 4a407af4 by ext.wangyuman1

朋友圈模块

1 parent c65873d0
...@@ -63,8 +63,8 @@ let config = { ...@@ -63,8 +63,8 @@ let config = {
services: { services: {
wecom: '/open', wecom: '/open',
system: env.SYSTEM_API, // system: env.SYSTEM_API,
// system: 'http://192.168.4.168:6180', system: 'http://192.168.4.168:6180',
common: '/common', common: '/common',
}, },
......
...@@ -11,12 +11,12 @@ ...@@ -11,12 +11,12 @@
</div> </div>
</div> </div>
</div> --> </div> -->
<div class="item" v-if="list[0].mediaType === '4'"> <div class="item mb10" style="margin-top: 0px" v-if="content">
<div class="msg"> <div class="msg">
<div class="word"> <div class="word">
<p <p
style="line-height: 18px" style="line-height: 18px"
v-html="list[0].content?.replace(/\n|\r\n/g, '<br>').replace(/ /g, ' &nbsp')" v-html="content?.replace(/\n|\r\n/g, '<br>').replace(/ /g, ' &nbsp')"
></p> ></p>
</div> </div>
</div> </div>
...@@ -140,7 +140,7 @@ export default { ...@@ -140,7 +140,7 @@ export default {
// default: null, // default: null,
// }, // },
// 内容 // 内容
templateInfo: { content: {
type: String, type: String,
default: null, default: null,
}, },
...@@ -250,9 +250,9 @@ export default { ...@@ -250,9 +250,9 @@ export default {
display: flex; display: flex;
margin-top: 20px; margin-top: 20px;
&:first-child { // &:first-child {
margin-top: 0; // margin-top: 0;
} // }
.avatar222 { .avatar222 {
// align-self: center; // align-self: center;
......
...@@ -124,10 +124,13 @@ export default { ...@@ -124,10 +124,13 @@ export default {
}, },
// 查询账号类型:null:企微,非企微 1:企微 0:非企微 // 查询账号类型:null:企微,非企微 1:企微 0:非企微
accountType: { type: [String, Number], default: 1 }, accountType: { type: [String, Number], default: 1 },
isDetail: {
type: Boolean,
default: false,
},
}, },
data() { data() {
return { return {
isDetail: false,
selectMember: false, selectMember: false,
selectDept: false, selectDept: false,
selectedUserList: [], selectedUserList: [],
...@@ -241,12 +244,14 @@ export default { ...@@ -241,12 +244,14 @@ export default {
if (this.form.customerTag && this.form.customerTag.length) { if (this.form.customerTag && this.form.customerTag.length) {
getList({ groupTagType: 1 }).then(({ rows }) => { getList({ groupTagType: 1 }).then(({ rows }) => {
this.form.customerTag.forEach((dd) => { this.form.customerTag.forEach((dd) => {
let index = rows.findIndex((item) => item.tagId === dd) rows.forEach((inx) => {
if (rows[index] !== undefined) { let index = inx.weTags.findIndex((item) => item.tagId === dd)
this.selectedTagList.push(rows[index]) if (inx.weTags[index] !== undefined) {
this.selectedTagList.push(inx.weTags[index])
} }
}) })
}) })
})
} }
}, },
}, },
......
...@@ -9,10 +9,14 @@ ...@@ -9,10 +9,14 @@
class="top-search" class="top-search"
> >
<el-form-item prop="name"> <el-form-item prop="name">
<el-input v-model="query.name" placeholder="请输入任务名称"></el-input> <el-input v-model="query.name" placeholder="请输入任务名称" style="width: 160px"></el-input>
</el-form-item> </el-form-item>
<el-form-item prop="createBy"> <el-form-item prop="createBy">
<el-input v-model="query.createBy" placeholder="请输入创建人"></el-input> <el-input
v-model="query.createBy"
placeholder="请输入创建人"
style="width: 160px"
></el-input>
</el-form-item> </el-form-item>
<el-form-item prop="sendType"> <el-form-item prop="sendType">
<!-- <el-input v-model="query" placeholder="请输入创建人"></el-input> --> <!-- <el-input v-model="query" placeholder="请输入创建人"></el-input> -->
...@@ -45,6 +49,7 @@ ...@@ -45,6 +49,7 @@
range-separator="—" range-separator="—"
start-placeholder="执行开始时间" start-placeholder="执行开始时间"
end-placeholder="执行结束时间" end-placeholder="执行结束时间"
style="width: 260px"
></el-date-picker> ></el-date-picker>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!