Commit 7850dedd by xinla

--no commit message

1 parent b2810808
......@@ -222,7 +222,7 @@ export default {
display: inline-block;
line-height: 30px;
cursor: pointer;
color: #199ed8;
color: var(--color);
// text-indent: 10px;
// box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2), 0 1px 4px 0 rgba(0, 0, 0, 0.19);
}
......
......@@ -5,12 +5,12 @@ export default {
props: {
amrUrl: {
type: String,
default: ''
}
default: '',
},
},
data() {
return {
actived: false
actived: false,
// dialogVisible: false,
// audioSrc: []
}
......@@ -32,19 +32,17 @@ export default {
}
this.__proto__.$playRec = new BenzAMRRecorder()
this.__proto__.$playRecSymbole = this.amrUrl
this.$playRec
.initWithUrl(this.amrUrl)
.then(() => {
this.actived = true
this.$playRec.play()
this.$playRec.onEnded(() => {
this.actived = false
})
console.log('amr 时长:' + this.$playRec.getDuration())
this.$playRec.initWithUrl(this.amrUrl).then(() => {
this.actived = true
this.$playRec.play()
this.$playRec.onEnded(() => {
this.actived = false
})
// .catch((e) => {
// this.$message.error('播放录音失败,或文件损坏')
// })
console.log('amr 时长:' + this.$playRec.getDuration())
})
// .catch((e) => {
// this.$message.error('播放录音失败,或文件损坏')
// })
}
// this.audioSrc = [JSON.parse(this.message.contact)[type]]
},
......@@ -57,7 +55,7 @@ export default {
return true
}
}
}
},
// close() {
// this.dialogVisible = false
// const mp3 = this.$refs.AudioPlayer
......@@ -66,7 +64,7 @@ export default {
// onBeforePlay(next) {
// next() // 开始播放
// }
}
},
}
</script>
......@@ -74,9 +72,8 @@ export default {
<div>
<i
:class="['el-icon-microphone', actived && 'actived']"
style=" font-size: 40px; color: #199ed8;"
@click.stop="play('attachment')"
></i>
style="font-size: 40px; color: var(--color)"
@click.stop="play('attachment')"></i>
<!-- <AudioPlayer
:audio-list="audioSrc"
......
......@@ -141,7 +141,7 @@ export default {
}
// 当前激活菜单
.el-menu-item.is-active {
background: linear-gradient(to right, var(--color) 0%, var(--color-lighter) 100%);
background: linear-gradient(to right, var(--color) 0%, var(--color-sub) 100%);
box-shadow: 0px 13px 16px 0px rgba(7, 168, 85, 0.2);
border-radius: 8px;
color: #fff !important;
......
......@@ -97,7 +97,7 @@ export default {
<style lang="scss" scoped>
.g-bg-lg {
background: linear-gradient(to left, var(--color) 0%, var(--color-lighter) 100%);
background: linear-gradient(to left, var(--color) 0%, var(--color-sub) 100%);
box-shadow: 0px 13px 16px 0px rgba(7, 168, 85, 0.2);
}
// .nav-scrollbar {
......
html {
--rgb: 7, 193, 96; /* 主题色rgb #07c160*/
--color: rgb(var(--rgb)); /* 主题色 #07c160*/
--color-lighter: #90de45; /* 浅主题色 */
--color-lighter: rgb(var(--rgb), 0.12); /* #e9f7ee */
--color-sub: #90de45; /* 主题辅色 */
--color-success: #07c160;
--color-warning: #faad14;
--color-danger: #eb5e12;
......@@ -46,6 +47,6 @@ html {
/* 渐变背景 */
.g-bg-lg {
background: linear-gradient(to left, var(--color) 0%, var(--color-lighter) 100%);
background: linear-gradient(to left, var(--color) 0%, var(--color-sub) 100%);
box-shadow: 0px 13px 16px 0px rgba(7, 168, 85, 0.2);
}
<script>
import { getList, remove } from '@/api/communityOperating/keywords'
import SelectUser from '@/components/SelectUser'
export default {
components: { SelectUser },
props: {},
......
<script>
import { getDetail, add, update } from '@/api/communityOperating/newCustomer'
import PhoneDialog from '@/components/PhoneDialog'
import SelectUser from '@/components/SelectUser'
import SelectTag from '@/components/SelectTag'
import SelectQrCode from '@/components/SelectQrCode'
export default {
components: { PhoneDialog, SelectTag, SelectUser, SelectQrCode },
components: { PhoneDialog, SelectTag, SelectQrCode },
data() {
return {
selectedUserList: [],
......
......@@ -3,16 +3,16 @@
<ul>
<li v-for="(item, index) in data" :key="index">
<div class="mb15 my_header right" v-if="queryChat.fromId === item.fromId">
<span :style="{ color: item.action == 'send' ? '#199ed8' : '#999' }">{{ item.msgTime }}</span>
<span :style="{ color: item.action == 'send' ? 'var(--color)' : '#999' }">{{ item.msgTime }}</span>
<span class="ml10">{{ item.name }}</span>
<img v-if="item.avatar" class="image" style="margin-left: 10px;" :src="item.avatar" />
<img v-else style="margin-left: 10px;" src="../../../../assets/drainageCode/header.png" />
<img v-if="item.avatar" class="image" style="margin-left: 10px" :src="item.avatar" />
<img v-else style="margin-left: 10px" src="../../../../assets/drainageCode/header.png" />
</div>
<div v-else class="mb15 my_header">
<img v-if="item.avatar" class="image" :src="item.avatar" />
<img v-else style="margin-right: 5px;" src="../../../../assets/drainageCode/header.png" />
<img v-else style="margin-right: 5px" src="../../../../assets/drainageCode/header.png" />
<span class="mr10">{{ item.name }}</span>
<span :style="{ color: item.action == 'send' ? '#199ed8' : '#999' }">{{ item.msgTime }}</span>
<span :style="{ color: item.action == 'send' ? 'var(--color)' : '#999' }">{{ item.msgTime }}</span>
</div>
<div class="right" v-if="queryChat.fromId === item.fromId">
<ChatContent :queryChat="queryChat" :message="item"></ChatContent>
......@@ -26,100 +26,100 @@
</template>
<script>
import ChatContent from '@/components/ChatContent'
export default {
components: {
ChatContent
import ChatContent from '@/components/ChatContent'
export default {
components: {
ChatContent,
},
props: {
data: {
type: Array,
defluat: () => [],
},
props: {
data: {
type: Array,
defluat: () => []
},
queryChat: {
type: Object,
default: () => ({})
}
queryChat: {
type: Object,
default: () => ({}),
},
mounted() {},
data() {
return {}
},
methods: {}
}
},
mounted() {},
data() {
return {}
},
methods: {},
}
</script>
<style lang="scss" scoped>
.right {
display: flex;
justify-content: flex-end;
}
.my_header {
display: flex;
align-items: center;
}
.image {
width: 24px;
height: 24px;
border-radius: 50%;
margin-right: 5px;
}
.shabowbox {
position: fixed;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.4);
left: 0;
top: 0;
z-index: 2000;
}
.right {
display: flex;
justify-content: flex-end;
}
.my_header {
display: flex;
align-items: center;
}
.image {
width: 24px;
height: 24px;
border-radius: 50%;
margin-right: 5px;
}
.shabowbox {
position: fixed;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.4);
left: 0;
top: 0;
z-index: 2000;
}
.shabowboxvidoe {
position: fixed;
width: 800px;
height: 475px;
left: 50%;
margin-left: -400px;
top: 50%;
margin-top: -235px;
z-index: 2001;
background: #fff;
}
.shabowboxvidoe {
position: fixed;
width: 800px;
height: 475px;
left: 50%;
margin-left: -400px;
top: 50%;
margin-top: -235px;
z-index: 2001;
background: #fff;
}
.shabowboxaudio {
height: 125px;
padding: 12px;
}
.shabowboxaudio {
height: 125px;
padding: 12px;
}
.close {
position: fixed;
width: 50px;
height: 50px;
right: 10px;
z-index: 2012;
top: 10px;
text-align: center;
line-height: 50px;
font-size: 20px;
color: #fff;
cursor: pointer;
font-size: 43px;
}
.close {
position: fixed;
width: 50px;
height: 50px;
right: 10px;
z-index: 2012;
top: 10px;
text-align: center;
line-height: 50px;
font-size: 20px;
color: #fff;
cursor: pointer;
font-size: 43px;
}
.takecontent {
border-radius: 3px;
background-color: #eee;
position: relative;
text-align: left;
height: 100%;
width: 100%;
overflow-y: scroll;
.takecontent {
border-radius: 3px;
background-color: #eee;
position: relative;
text-align: left;
height: 100%;
width: 100%;
overflow-y: scroll;
::-webkit-scrollbar {
display: none;
}
::-webkit-scrollbar {
display: none;
}
ul li {
padding: 10px;
}
ul li {
padding: 10px;
}
}
</style>
......@@ -2,7 +2,7 @@
<div>
<div class="top">
<div class="name">
<span v-if="queryChat"> 与{{ queryChat.receiveName }}的聊天</span>
<span v-if="queryChat">与{{ queryChat.receiveName }}的聊天</span>
<span class="fr download" @click="exportList()">下载会话</span>
</div>
</div>
......@@ -15,106 +15,106 @@
</template>
<script>
import chatListClassTab from './chatListClassTab.vue'
import { dateFormat } from '@/utils/index'
import chatListClassTab from './chatListClassTab.vue'
import { dateFormat } from '@/utils/index'
import * as api from '@/api/conversation/content.js'
export default {
components: { chatListClassTab },
props: {
queryChat: {
type: Object,
default: () => ({})
}
import * as api from '@/api/conversation/content.js'
export default {
components: { chatListClassTab },
props: {
queryChat: {
type: Object,
default: () => ({}),
},
data() {
return {
activeTab: 'all',
opened: ['all'],
list: [
{
label: '全部',
type: 'all'
},
{
label: '图片及视频',
type: 'image,video'
},
{
label: '文件',
type: 'file'
},
{
label: '链接',
type: 'link'
},
{
label: '语音',
type: 'voice,meeting_voice_call'
}
]
}
},
watch: {
queryChat() {
this.opened = ['all']
this.activeTab = 'all'
}
},
data() {
return {
activeTab: 'all',
opened: ['all'],
list: [
{
label: '全部',
type: 'all',
},
{
label: '图片及视频',
type: 'image,video',
},
{
label: '文件',
type: 'file',
},
{
label: '链接',
type: 'link',
},
{
label: '语音',
type: 'voice,meeting_voice_call',
},
],
}
},
watch: {
queryChat() {
this.opened = ['all']
this.activeTab = 'all'
},
mounted() {},
methods: {
exportList() {
this.$confirm('是否确认导出所有数据项?', '警告', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
},
mounted() {},
methods: {
exportList() {
this.$confirm('是否确认导出所有数据项?', '警告', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
})
.then(() => {
return api.exportList(this.queryChat)
})
.then(() => {
return api.exportList(this.queryChat)
})
.then((res) => {
if (!res) return
const blob = new Blob([res], { type: 'application/vnd.ms-excel' })
.then((res) => {
if (!res) return
const blob = new Blob([res], { type: 'application/vnd.ms-excel' })
if (window.navigator.msSaveOrOpenBlob) {
//兼容IE10
navigator.msSaveBlob(blob, '会话存档')
} else {
const href = URL.createObjectURL(blob) //创建新的URL表示指定的blob对象
const a = document.createElement('a') //创建a标签
a.style.display = 'none'
a.href = href // 指定下载链接
a.download = dateFormat(new Date(), 'yyyy-MM-dd') + '_会话存档.xlsx' //指定下载文件名
a.click() //触发下载
URL.revokeObjectURL(a.href) //释放URL对象
}
})
.catch(function (err) {
console.log(err)
})
}
}
}
if (window.navigator.msSaveOrOpenBlob) {
//兼容IE10
navigator.msSaveBlob(blob, '会话存档')
} else {
const href = URL.createObjectURL(blob) //创建新的URL表示指定的blob对象
const a = document.createElement('a') //创建a标签
a.style.display = 'none'
a.href = href // 指定下载链接
a.download = dateFormat(new Date(), 'yyyy-MM-dd') + '_会话存档.xlsx' //指定下载文件名
a.click() //触发下载
URL.revokeObjectURL(a.href) //释放URL对象
}
})
.catch(function (err) {
console.log(err)
})
},
},
}
</script>
<style lang="scss" scoped>
::v-deep .el-tabs__header {
margin: 0;
}
::v-deep .el-tabs__header {
margin: 0;
}
.name {
font-size: 18px;
font-weight: 600;
color: #333;
margin-bottom: 10px;
}
.name {
font-size: 18px;
font-weight: 600;
color: #333;
margin-bottom: 10px;
}
.download {
color: #199ed8;
text-align: right;
font-size: 16px;
cursor: pointer;
&:hover {
opacity: 0.7;
}
.download {
color: var(--color);
text-align: right;
font-size: 16px;
cursor: pointer;
&:hover {
opacity: 0.7;
}
}
</style>
......@@ -4,28 +4,25 @@
<li
v-for="(item, index) in personList"
:key="index"
:class="{ active: index == active }"
@click="liClick(item, index)"
>
<el-row type="flex" align="middle">
<div class="ninebox">
<ul v-if="item.avatar">
<li v-for="(a, i) in item.avatar.split(',')" :key="i">
<img :src="a" />
</li>
</ul>
</div>
<div style="margin-left: 8px; line-height: 60px;" class="toe" :title="item.groupName">
{{ item.name }}
<!-- <p>
:class="['flex aic', { active: index == active }]"
@click="liClick(item, index)">
<div class="ninebox">
<ul v-if="item.avatar">
<li v-for="(a, i) in item.avatar.split(',')" :key="i">
<img :src="a" />
</li>
</ul>
</div>
<div style="margin-left: 8px; line-height: 60px" class="toe" :title="item.groupName">
{{ item.name }}
<!-- <p>
<span class="fr gray">{{ item.msgTime }}</span>
</p> -->
<!-- <p class="gray" v-if="item">
<!-- <p class="gray" v-if="item">
{{ item.name }}:
{{ item.content }}
</p> -->
</div>
</el-row>
</div>
<!-- <el-row style="padding:10px" v-if="item.finalChatContext.msgtype=='file'">
<el-col :span="3">&nbsp;</el-col>
<el-col :span="21">
......@@ -41,87 +38,88 @@
</div>
</template>
<script>
import { parseTime } from '@/utils/common.js'
export default {
props: {
personList: {
type: Array,
defluat: () => []
},
loading: {
type: Boolean,
defluat: false
}
// import { parseTime } from '@/utils/common.js'
export default {
props: {
personList: {
type: Array,
defluat: () => [],
},
data() {
return {
loadings: true,
active: undefined
}
loading: {
type: Boolean,
defluat: false,
},
methods: {
liClick(data, index) {
this.active = index
this.$emit('groupFn', data)
}
},
data() {
return {
loadings: true,
active: undefined,
}
}
},
methods: {
liClick(data, index) {
this.active = index
this.$emit('groupFn', data)
},
},
}
</script>
<style lang="scss" scoped>
.ninebox {
flex: none;
width: 54px;
height: 52px;
border: 1px solid #199ed8;
overflow: hidden;
ul li {
float: left;
width: 15px;
height: 15px;
padding: 0 !important;
margin: 1px 1px 1px 1px;
}
.ninebox {
flex: none;
width: 54px;
height: 52px;
border: 1px solid var(--color);
border-radius: var(--border-radius);
overflow: hidden;
ul li {
float: left;
width: 15px;
height: 15px;
padding: 0 !important;
margin: 1px 1px 1px 1px;
}
.groupList {
overflow-y: auto;
height: calc(100vh - 328px);
}
.groupList {
overflow-y: auto;
height: calc(100vh - 328px);
::-webkit-scrollbar {
display: none;
}
::-webkit-scrollbar {
display: none;
}
::v-deep .el-loading-spinner {
margin-top: 20px;
}
::v-deep .el-loading-spinner {
margin-top: 20px;
}
.gray {
color: #999;
.gray {
color: #999;
}
.padt10 {
padding-top: 10px;
}
ul li {
padding: 3px 10px;
overflow: hidden;
border-bottom: 1px solid #efefef;
cursor: pointer;
p {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.padt10 {
padding-top: 10px;
&:hover {
background: #efefef;
}
ul li {
padding: 3px 10px;
overflow: hidden;
border-bottom: 1px solid #efefef;
cursor: pointer;
p {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
&:hover {
background: #efefef;
}
&.active {
background: #ebf4fc;
}
img {
width: 100%;
height: 100%;
float: left;
}
&.active {
background: var(--color-lighter);
}
img {
width: 100%;
height: 100%;
float: left;
}
}
}
</style>
......@@ -6,8 +6,7 @@
class="list"
:class="{ active: index == active }"
:key="index"
@click="liClick(item, index)"
>
@click="liClick(item, index)">
<img v-if="item.avatar" class="fl mr10" :src="item.avatar" />
<img class="fl mr10" v-else src="../../../../assets/drainageCode/header.png" />
<div class="name" :title="item.name">
......@@ -19,72 +18,72 @@
</div>
</template>
<script>
export default {
props: {
personList: {
type: Array,
defluat: () => []
},
loading: {
type: Boolean,
defluat: false
}
export default {
props: {
personList: {
type: Array,
defluat: () => [],
},
data() {
return {
loadings: true,
active: undefined
}
loading: {
type: Boolean,
defluat: false,
},
methods: {
liClick(data, index) {
this.active = index
this.$emit('chatFn', data)
}
},
data() {
return {
loadings: true,
active: undefined,
}
}
},
methods: {
liClick(data, index) {
this.active = index
this.$emit('chatFn', data)
},
},
}
</script>
<style lang="scss" scoped>
.userList {
overflow-y: auto;
// height: calc(100vh - 288px);
height: 100%;
.userList {
overflow-y: auto;
// height: calc(100vh - 288px);
height: 100%;
::-webkit-scrollbar {
display: none;
}
::-webkit-scrollbar {
display: none;
}
::v-deep .el-loading-spinner {
margin-top: 20px;
}
::v-deep .el-loading-spinner {
margin-top: 20px;
}
.gray {
color: #999;
}
.list {
padding: 10px;
.gray {
color: #999;
}
.list {
padding: 10px;
overflow: hidden;
border-bottom: 1px solid #efefef;
cursor: pointer;
text-align: left;
.name {
white-space: nowrap;
overflow: hidden;
border-bottom: 1px solid #efefef;
cursor: pointer;
text-align: left;
.name {
white-space: nowrap;
overflow: hidden;
line-height: 40px;
text-overflow: ellipsis;
}
&:hover {
background: #efefef;
}
&.active {
background: #ebf4fc;
}
img {
width: 40px;
height: 40px;
float: left;
}
line-height: 40px;
text-overflow: ellipsis;
}
&:hover {
background: #efefef;
}
&.active {
background: var(--color-lighter);
}
img {
width: 40px;
height: 40px;
float: left;
}
}
}
</style>
......@@ -8,9 +8,10 @@
class="mb10"
placeholder="搜索客户名称"
clearable
prefix-icon="el-icon-search"
v-model="customerQuery.name"
@keyup.enter.native="getCustomerList(1)"></el-input>
@keyup.enter.native="getCustomerList(1)">
<el-button slot="append" icon="el-icon-search" @click="getCustomerList(1)"></el-button>
</el-input>
<div v-loading="customerLoading">
<ul v-if="init" v-infinite-scroll="getCustomerList" infinite-scroll-distance="1" class="customer-wrap">
<template v-if="customerList.length">
......@@ -19,8 +20,7 @@
:key="index"
tag="li"
@click.native="choiceCustomer(item, index)"
class="customer-li"
:class="{ active: index == personIndex }"
:class="['customer-li', { active: index == personIndex }]"
:gutter="20"
type="flex"
align="middle">
......@@ -261,7 +261,7 @@ export default {
width: 40px;
}
&.active {
background: #ebf4fc;
background: var(--color-lighter);
}
}
}
......
......@@ -7,10 +7,23 @@
class="mb10"
placeholder="搜索员工名称"
clearable
prefix-icon="el-icon-search"
v-model="name"
@keyup.enter.native="loadNode(1)"></el-input>
v-model.trim="keywords"
@keyup.enter.native="getDeptUser">
<el-button slot="append" icon="el-icon-search" @click="getDeptUser"></el-button>
</el-input>
<div class="search-list" v-show="keywords">
<div
v-for="(item, index) in searchResult"
:key="index"
:class="['customer-li', { active: index == personIndex }]"
@click="handleNodeClick(item)">
{{ item.name }}
</div>
</div>
<el-tree
v-show="!keywords"
ref="tree"
class="filter-tree"
:props="defaultProps"
......@@ -78,7 +91,8 @@ export default {
},
data() {
return {
employAmount: 1,
keywords: '',
searchResult: [],
fromId: '',
// employName: '',
talkName: '',
......@@ -123,7 +137,7 @@ export default {
},
// getTree() {
// apiOrg.getTree().then(({ data }) => {
// let treeData = (this.treeData = this.handleTree(data))
// let treeData = (this.treeData = this.handleDepart(data))
// this.handleNodeClick(this.treeData[0], true)
// })
// },
......@@ -175,7 +189,7 @@ export default {
loadNode(node, resolve) {
if (node.level == 0) {
apiOrg.getDeptTree().then(({ data }) => {
let treeData = this.treeFormat(this.handleTree(data))
let treeData = this.treeFormat(this.handleDepart(data))
// this.handleNodeClick(this.treeData[0], true)
treeData[0] && (this.defaultExpandedKeys = [treeData[0].id])
resolve(treeData)
......@@ -196,7 +210,7 @@ export default {
// }
// data.children.push(...rows)
// let arr = node.data.children ? node.data.children.concat(rows || []) : rows || []
let arr = this.handleName(rows)
let arr = this.handleUser(rows)
node.data.children && arr.push(...node.data.children)
arr.forEach((element) => {
element.isLeaf = !!element.userId
......@@ -206,6 +220,18 @@ export default {
}
}
},
getDeptUser() {
if (!this.keywords) return
this.searchResult = []
apiOrg
.getDeptUser({
deptId: this.defaultExpandedKeys[0],
userName: this.keywords,
})
.then((res) => {
this.searchResult = this.handleUser(res.rows)
})
},
treeFormat(list) {
let dealOptions = []
......@@ -226,7 +252,7 @@ export default {
})
return dealOptions
},
handleName(data) {
handleUser(data) {
return data.map((i) => {
if (i.userName) {
i.userId = i.weUserId
......@@ -235,7 +261,7 @@ export default {
return i
})
},
handleTree(data) {
handleDepart(data) {
return data.map((i) => {
if (i.deptId) {
// i.userId = i.deptId
......@@ -246,7 +272,7 @@ export default {
return i
})
},
handleNodeClick(data, add) {
handleNodeClick(data) {
if (!data.userId) {
} else {
this.talkName = data.name
......@@ -292,5 +318,10 @@ export default {
display: none;
}
}
.search-list {
margin-top: 20px;
padding: 0 10px;
}
}
</style>
......@@ -80,12 +80,11 @@
</template>
<script>
import * as sensitiveApis from '@/api/conversation/security'
import SelectUser from '@/components/SelectUser'
import ChatContent from '@/components/ChatContent'
export default {
components: {
SelectUser,
ChatContent,
},
data() {
......
......@@ -98,11 +98,9 @@
</template>
<script>
import * as sensitiveApis from '@/api/conversation/security'
import SelectUser from '@/components/SelectUser'
export default {
components: {
SelectUser,
},
components: {},
data() {
return {
form: {
......
......@@ -2,12 +2,12 @@
import { getListNew, exportCustomer, lossRemind, getLossRemindStatus } from '@/api/customer'
// import { getList as getListTag } from '@/api/customer/tag'
// import { getList as getListOrganization } from '@/api/organization'
import SelectUser from '@/components/SelectUser'
import SelectTag from '@/components/SelectTag'
export default {
name: 'LossRemind',
components: { SelectUser, SelectTag },
components: { SelectTag },
props: {},
data() {
return {
......
......@@ -2,11 +2,11 @@
import { getDetail, add, update, getQrcode } from '@/api/drainageCode/staff'
import { getList } from '@/api/drainageCode/welcome'
import PhoneDialog from '@/components/PhoneDialog'
import SelectUser from '@/components/SelectUser'
import SelectTag from '@/components/SelectTag'
import SelectMaterial from '@/components/SelectMaterial'
export default {
components: { PhoneDialog, SelectTag, SelectUser, SelectMaterial },
components: { PhoneDialog, SelectTag, SelectMaterial },
data() {
return {
dialogVisibleSelectUser: false,
......
......@@ -279,7 +279,7 @@ import {
} from '@/api/drainageCode/smartForms.js'
import FormsDetail from './build/formsDetail.vue'
import PhoneDialog from '@/components/PhoneDialog'
import SelectUser from '@/components/SelectUser'
import SelectTag from '@/components/SelectTag'
import SelectMaterial from '@/components/SelectMaterial'
import WelcomeContent from '@/components/WelcomeContent.vue'
......@@ -289,7 +289,7 @@ export default {
components: {
PhoneDialog,
SelectTag,
SelectUser,
SelectMaterial,
WelcomeContent,
Build,
......
......@@ -281,7 +281,6 @@ import {
updateCodeCategory,
removeCodeCategory,
} from '@/api/drainageCode/staff'
import SelectUser from '@/components/SelectUser'
const groupForm = {
mediaType: 15,
......@@ -290,7 +289,6 @@ const groupForm = {
export default {
name: 'CodeStaff',
components: {
SelectUser,
FormsDetail,
Channels,
},
......
......@@ -187,7 +187,7 @@ export default {
components: {
PhoneDialog,
SelectTag,
SelectUser,
SelectMaterial,
WelcomeContent,
AddMaterial,
......
......@@ -129,14 +129,11 @@
</div>
</template>
<script>
import SelectUser from '@/components/SelectUser'
import moment from 'moment'
import { getEnterpriceList, syncHMoments, getDetail } from '@/api/circle'
export default {
name: 'enterprise',
components: {
SelectUser,
},
components: {},
data() {
return {
disable: false,
......
......@@ -123,14 +123,11 @@
</div>
</template>
<script>
import SelectUser from '@/components/SelectUser'
import moment from 'moment'
import { getEnterpriceList, syncHMoments, getDetail } from '@/api/circle'
export default {
name: 'friend-index',
components: {
SelectUser,
},
components: {},
data() {
return {
// disable: false,
......
......@@ -185,7 +185,7 @@
import { add, getCustomerList } from '@/api/groupMessage'
import { getMaterialMediaId } from '@/api/material'
import PhoneDialog from '@/components/PhoneDialog'
// import SelectUser from '@/components/SelectUser'
//
import SelectTag from '@/components/SelectTag'
import WelcomeDetail from '@/components/WelcomeContent.vue'
import SelectCustomerGroup from '@/components/SelectCustomerGroup'
......@@ -196,7 +196,7 @@ export default {
components: {
PhoneDialog,
SelectTag,
// SelectUser,
//
WelcomeDetail,
SelectCustomerGroup,
AddMaterial,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!