Commit 2f9e7b92 by jzou

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

2 parents 0c4f3896 28583fe1
......@@ -41,6 +41,13 @@ export default {
this.birthday = this.customer.birthday
})
},
remark(item) {
return (
item.remark ||
this.customer.name +
(item.remarkCorpName ? '-' + item.remarkCorpName : '')
)
},
},
}
</script>
......@@ -88,69 +95,63 @@ export default {
</div>
</div>
<el-card shadow="never" :body-style="{ width: '400px' }">
<div>
<el-button
v-if="customer.weFlowerCustomerRels[0].status == 1"
class="fr"
type="danger"
plain
size="mini"
>该员工已被客户删除</el-button
>
<el-row :gutter="10">
<el-col :span="10">备注名:</el-col>
<el-col :span="10">
<el-tooltip
class="item"
effect="dark"
:content="customer.name"
placement="top-start"
>
<div class="toe al">{{ customer.name }}</div>
</el-tooltip>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="10">标签:</el-col>
<el-col :span="14">
<div
v-for="(item, index) in customer.weFlowerCustomerRels"
:key="index"
>
<el-tag
type="info"
v-for="(unit, unique) in item.weFlowerCustomerTagRels"
:key="unique"
>{{ unit.tagName }}</el-tag
>
<el-card
v-for="(item, index) of customer.weFlowerCustomerRels"
:key="index"
shadow="never"
:body-style="{ width: '400px' }"
>
<el-button
v-if="item.status == 1"
class="fr"
type="danger"
plain
size="mini"
>该员工已被客户删除</el-button
>
<el-row :gutter="10">
<el-col :span="10">备注名:</el-col>
<el-col :span="10">
<el-tooltip
class="item"
effect="dark"
:content="remark(item)"
placement="top-start"
>
<div class="toe al">
{{ remark(item) }}
</div>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="10">个人标签:</el-col>
<el-col :span="12">{{ '--' }}</el-col>
</el-row>
<el-divider></el-divider>
<el-row :gutter="10">
<el-col :span="10">添加人:</el-col>
<el-col :span="12">{{
customer.weFlowerCustomerRels[0].userName
}}</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="10">所在部门:</el-col>
<el-col :span="12">{{
customer.weFlowerCustomerRels[0].department
}}</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="10">添加时间:</el-col>
<el-col :span="12">{{
customer.weFlowerCustomerRels[0].createTime
}}</el-col>
</el-row>
</div>
</el-tooltip>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="10">标签:</el-col>
<el-col :span="14">
<el-tag
type="info"
v-for="(unit, unique) in item.weFlowerCustomerTagRels"
:key="unique"
>{{ unit.tagName }}</el-tag
>
</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="10">个人标签:</el-col>
<el-col :span="12">{{ '--' }}</el-col>
</el-row>
<el-divider></el-divider>
<el-row :gutter="10">
<el-col :span="10">添加人:</el-col>
<el-col :span="12">{{ item.userName }}</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="10">所在部门:</el-col>
<el-col :span="12">{{ item.department }}</el-col>
</el-row>
<el-row :gutter="10">
<el-col :span="10">添加时间:</el-col>
<el-col :span="12">{{ item.createTime }}</el-col>
</el-row>
</el-card>
</div>
</template>
......@@ -186,7 +187,7 @@ export default {
.el-card {
display: inline-block;
margin-top: 20px;
margin: 20px 20px 0 0;
.el-row {
color: #666;
margin-bottom: 10px;
......
......@@ -222,6 +222,9 @@ export default {
<el-input v-model="form.corpSecret" style="width: 80%"></el-input>
<el-link class="fr" type="primary">如何获取?</el-link>
</el-form-item>
<el-form-item label="会话存档secret" prop="chatSecret">
<el-input v-model="form.chatSecret" style="width: 80%"></el-input>
</el-form-item>
<!-- <el-form-item label="通讯录事件服务">
<el-radio-group v-model="form.contactSecret">
<el-radio label="label">开启</el-radio>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!