Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e2780ca1
authored
Jan 27, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改塬微为仟微,侧边栏抓取素材弹窗问题等
1 parent
1a345fce
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
352 additions
and
343 deletions
linkwe-ui/.env.development
linkwe-ui/.env.production
linkwe-ui/src/components/PhoneDialog.vue
linkwe-ui/src/components/SelectMaterialMult/list.vue
linkwe-ui/src/layout/components/Navbar.vue
linkwe-ui/src/views/appTool/chatToolbar/list.vue
linkwe-ui/src/views/appTool/groupFission/list.vue
linkwe-ui/src/views/appTool/task/list.vue
linkwe-ui/src/views/communityOperating/groupSOP/list.vue
linkwe-ui/src/views/communityOperating/keywords/list.vue
linkwe-ui/src/views/communityOperating/newCustomer/list.vue
linkwe-ui/src/views/communityOperating/oldCustomer/list.vue
linkwe-ui/src/views/enterpriseWechat/list.vue
linkwe-ui/src/views/groupMessage/record.vue
linkwe-ui/src/views/login.vue
linkwe-ui/.env.development
View file @
e2780ca
# 开发环境配置
# 开发环境配置
ENV = 'development'
ENV = 'development'
#
塬
微管理系统/开发环境
#
仟
微管理系统/开发环境
VUE_APP_BASE_API = 'http://146.56.222.200
/api/
'
VUE_APP_BASE_API = 'http://146.56.222.200'
# VUE_APP_BASE_API = 'http://n3rpzt.natappfree.cc'
# VUE_APP_BASE_API = 'http://n3rpzt.natappfree.cc'
# 开发环境IP
# 开发环境IP
...
...
linkwe-ui/.env.production
View file @
e2780ca
# 生产环境配置
# 生产环境配置
ENV = 'production'
ENV = 'production'
#
塬
微管理系统/生产环境api
#
仟
微管理系统/生产环境api
VUE_APP_BASE_API = 'http://1
06.13.236.58:808
0'
VUE_APP_BASE_API = 'http://1
46.56.222.20
0'
# 生产环境IP
# 生产环境IP
VUE_APP_BASE_URL = 'http://106.13.236.58:8080'
VUE_APP_BASE_URL = 'http://106.13.236.58:8080'
linkwe-ui/src/components/PhoneDialog.vue
View file @
e2780ca
...
@@ -25,7 +25,7 @@ export default {
...
@@ -25,7 +25,7 @@ export default {
<
template
>
<
template
>
<div
class=
"preview ac"
>
<div
class=
"preview ac"
>
<div
class=
"top"
>
小微
</div>
<div
class=
"top"
>
小微
</div>
<div
class=
"small"
>
塬
微科技-企微
</div>
<div
class=
"small"
>
仟
微科技-企微
</div>
<div
class=
"time"
>
凌晨2:20
</div>
<div
class=
"time"
>
凌晨2:20
</div>
<div
class=
"flex msg-li"
>
<div
class=
"flex msg-li"
>
<el-avatar
<el-avatar
...
...
linkwe-ui/src/components/SelectMaterialMult/list.vue
View file @
e2780ca
<
script
>
<
script
>
import
{
getTree
,
getList
}
from
"@/api/material"
;
import
{
getTree
,
getList
}
from
'@/api/material'
export
default
{
export
default
{
components
:
{},
components
:
{},
props
:
{
props
:
{
type
:
{
type
:
{
type
:
String
,
type
:
String
,
default
:
"4"
,
default
:
'4'
,
},
},
multiple
:
{
multiple
:
{
type
:
Boolean
,
type
:
Boolean
,
...
@@ -23,83 +23,83 @@ export default {
...
@@ -23,83 +23,83 @@ export default {
query
:
{
query
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
,
categoryId
:
""
,
categoryId
:
''
,
search
:
""
,
search
:
''
,
mediaType
:
"4"
,
mediaType
:
'4'
,
},
},
list
:
[],
// 列表
list
:
[],
// 列表
total
:
0
,
// 总条数
total
:
0
,
// 总条数
treeData
:
[],
// 树
treeData
:
[],
// 树
// 树props
// 树props
treeProps
:
{
treeProps
:
{
children
:
"children"
,
children
:
'children'
,
label
:
"name"
,
label
:
'name'
,
},
},
// 分组props
// 分组props
groupProps
:
{
groupProps
:
{
// expandTrigger: 'hover',
// expandTrigger: 'hover',
checkStrictly
:
true
,
checkStrictly
:
true
,
children
:
"children"
,
children
:
'children'
,
label
:
"name"
,
label
:
'name'
,
value
:
"id"
,
value
:
'id'
,
emitPath
:
false
,
emitPath
:
false
,
},
},
radio
:
""
,
radio
:
''
,
// 树props
// 树props
treeProps
:
{
treeProps
:
{
children
:
"children"
,
children
:
'children'
,
label
:
"name"
,
label
:
'name'
,
},
},
selectedx
:
[]
selectedx
:
[]
,
}
;
}
},
},
watch
:
{
watch
:
{
radio
(
val
)
{
radio
(
val
)
{
this
.
$emit
(
"change"
,
val
);
this
.
$emit
(
'change'
,
val
)
},
},
},
},
computed
:
{},
computed
:
{},
created
()
{
created
()
{
this
.
query
.
mediaType
=
this
.
type
;
this
.
query
.
mediaType
=
this
.
type
this
.
getTree
()
;
this
.
getTree
()
this
.
getList
()
;
this
.
getList
()
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
// 获取类目树
// 获取类目树
getTree
()
{
getTree
()
{
getTree
(
this
.
type
).
then
(({
data
})
=>
{
getTree
(
this
.
type
).
then
(({
data
})
=>
{
this
.
treeData
=
data
;
this
.
treeData
=
data
})
;
})
},
},
// 获取素材列表
// 获取素材列表
getList
(
page
)
{
getList
(
page
)
{
page
&&
(
this
.
query
.
pageNum
=
page
)
;
page
&&
(
this
.
query
.
pageNum
=
page
)
this
.
loading
=
true
;
this
.
loading
=
true
getList
(
this
.
query
)
getList
(
this
.
query
)
.
then
(({
rows
,
total
})
=>
{
.
then
(({
rows
,
total
})
=>
{
this
.
list
=
rows
;
this
.
list
=
rows
this
.
total
=
+
total
;
this
.
total
=
+
total
this
.
loading
=
false
;
this
.
loading
=
false
this
.
$emit
(
"listChange"
,
this
.
list
);
this
.
$emit
(
'listChange'
,
this
.
list
)
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
})
;
})
},
},
// 节点单击事件
// 节点单击事件
handleNodeClick
(
data
)
{
handleNodeClick
(
data
)
{
this
.
query
.
categoryId
=
data
.
id
;
this
.
query
.
categoryId
=
data
.
id
this
.
getList
(
1
)
;
this
.
getList
(
1
)
},
},
// 多选框选中数据
// 多选框选中数据
handleSelectionChange
(
selection
)
{
handleSelectionChange
(
selection
)
{
this
.
$emit
(
"update:selected"
,
selection
);
this
.
$emit
(
'update:selected'
,
selection
)
},
},
},
},
}
;
}
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -191,7 +191,7 @@ export default {
...
@@ -191,7 +191,7 @@ export default {
></el-pagination>
></el-pagination>
</div>
</div>
<el-table
<el-table
v-if=
"[3, 4].includes(+type)"
v-if=
"[
1,
3, 4].includes(+type)"
:data=
"list"
:data=
"list"
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
>
>
...
@@ -201,7 +201,10 @@ export default {
...
@@ -201,7 +201,10 @@ export default {
</el-table>
</el-table>
<el-row
v-else
:gutter=
"20"
>
<el-row
v-else
:gutter=
"20"
>
<el-checkbox-group
v-model=
"selectedx"
@
change=
"handleSelectionChange"
>
<el-checkbox-group
v-model=
"selectedx"
@
change=
"handleSelectionChange"
>
<el-col
<el-col
:span=
"6"
:span=
"6"
style=
"margin-bottom: 24px; min-width: 220px"
style=
"margin-bottom: 24px; min-width: 220px"
...
...
linkwe-ui/src/layout/components/Navbar.vue
View file @
e2780ca
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<breadcrumb
id=
"breadcrumb-container"
class=
"breadcrumb-container"
/>
<breadcrumb
id=
"breadcrumb-container"
class=
"breadcrumb-container"
/>
<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"
>
<el-tooltip
content=
"源码地址"
effect=
"dark"
placement=
"bottom"
>
...
@@ -28,9 +28,12 @@
...
@@ -28,9 +28,12 @@
<screenfull
id=
"screenfull"
class=
"right-menu-item hover-effect"
/>
<screenfull
id=
"screenfull"
class=
"right-menu-item hover-effect"
/>
</
template
>
</
template
>
<el-dropdown
class=
"avatar-container right-menu-item hover-effect"
trigger=
"click"
>
<el-dropdown
class=
"avatar-container right-menu-item hover-effect"
trigger=
"click"
>
<div
class=
"avatar-wrapper"
>
<div
class=
"avatar-wrapper"
>
塬
微
仟
微
<!-- <img :src="avatar" class="user-avatar"> -->
<!-- <img :src="avatar" class="user-avatar"> -->
<i
class=
"el-icon-caret-bottom"
/>
<i
class=
"el-icon-caret-bottom"
/>
</div>
</div>
...
@@ -51,11 +54,11 @@
...
@@ -51,11 +54,11 @@
</template>
</template>
<
script
>
<
script
>
import
{
mapGetters
}
from
"vuex"
;
import
{
mapGetters
}
from
'vuex'
import
Breadcrumb
from
"@/components/Breadcrumb"
;
import
Breadcrumb
from
'@/components/Breadcrumb'
import
Hamburger
from
"@/components/Hamburger"
;
import
Hamburger
from
'@/components/Hamburger'
import
Search
from
"@/components/HeaderSearch"
;
import
Search
from
'@/components/HeaderSearch'
import
screenfull
from
"@/components/Screenfull"
;
import
screenfull
from
'@/components/Screenfull'
export
default
{
export
default
{
components
:
{
components
:
{
...
@@ -65,43 +68,43 @@ export default {
...
@@ -65,43 +68,43 @@ export default {
screenfull
,
screenfull
,
},
},
computed
:
{
computed
:
{
...
mapGetters
([
"sidebar"
,
"avatar"
,
"device"
]),
...
mapGetters
([
'sidebar'
,
'avatar'
,
'device'
]),
setting
:
{
setting
:
{
get
()
{
get
()
{
return
this
.
$store
.
state
.
settings
.
showSettings
;
return
this
.
$store
.
state
.
settings
.
showSettings
},
},
set
(
val
)
{
set
(
val
)
{
this
.
$store
.
dispatch
(
"settings/changeSetting"
,
{
this
.
$store
.
dispatch
(
'settings/changeSetting'
,
{
key
:
"showSettings"
,
key
:
'showSettings'
,
value
:
val
,
value
:
val
,
})
;
})
},
},
},
},
},
},
methods
:
{
methods
:
{
toggleSideBar
()
{
toggleSideBar
()
{
this
.
$store
.
dispatch
(
"app/toggleSideBar"
);
this
.
$store
.
dispatch
(
'app/toggleSideBar'
)
},
},
async
logout
()
{
async
logout
()
{
this
.
$confirm
(
"确定注销并退出系统吗?"
,
"提示"
,
{
this
.
$confirm
(
'确定注销并退出系统吗?'
,
'提示'
,
{
confirmButtonText
:
"确定"
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
"取消"
,
cancelButtonText
:
'取消'
,
type
:
"warning"
,
type
:
'warning'
,
}).
then
(()
=>
{
}).
then
(()
=>
{
this
.
$store
.
dispatch
(
"LogOut"
).
then
(()
=>
{
this
.
$store
.
dispatch
(
'LogOut'
).
then
(()
=>
{
location
.
href
=
"/"
;
location
.
href
=
'/'
})
;
})
})
;
})
},
},
goto
(
type
)
{
goto
(
type
)
{
window
.
open
(
window
.
open
(
type
type
?
"https://gitee.com/LinkWeChat/link-wechat"
?
'https://gitee.com/LinkWeChat/link-wechat'
:
"https://gitee.com/LinkWeChat/link-wechat"
:
'https://gitee.com/LinkWeChat/link-wechat'
)
;
)
},
},
},
},
}
;
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
...
linkwe-ui/src/views/appTool/chatToolbar/list.vue
View file @
e2780ca
...
@@ -224,6 +224,7 @@ export default {
...
@@ -224,6 +224,7 @@ export default {
<SelectMaterialMult
<SelectMaterialMult
:selected
.
sync=
"selectedMaterial"
:selected
.
sync=
"selectedMaterial"
:type=
"metarialParams.mediaType"
:type=
"metarialParams.mediaType"
:key=
"metarialParams.mediaType"
></SelectMaterialMult>
></SelectMaterialMult>
<div
slot=
"footer"
>
<div
slot=
"footer"
>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
...
...
linkwe-ui/src/views/appTool/groupFission/list.vue
View file @
e2780ca
<
script
>
<
script
>
import
*
as
api
from
"@/api/customer"
;
import
*
as
api
from
'@/api/customer'
// import clipboard from "clipboard";
// import clipboard from "clipboard";
export
default
{
export
default
{
...
@@ -10,7 +10,7 @@ export default {
...
@@ -10,7 +10,7 @@ export default {
query
:
{
query
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
,
name
:
""
name
:
''
,
},
},
dateRange
:
[],
// 添加日期
dateRange
:
[],
// 添加日期
total
:
0
,
total
:
0
,
...
@@ -20,18 +20,18 @@ export default {
...
@@ -20,18 +20,18 @@ export default {
disabled
:
false
,
disabled
:
false
,
loading
:
false
,
loading
:
false
,
rules
:
Object
.
freeze
({
rules
:
Object
.
freeze
({
name
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}],
name
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
corpId
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}],
corpId
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
corpSecret
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}],
corpSecret
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
contactSecret
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}]
contactSecret
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
}),
}),
status
:
[
"正常"
,
"停用"
]
status
:
[
'正常'
,
'停用'
],
}
;
}
},
},
watch
:
{},
watch
:
{},
computed
:
{},
computed
:
{},
created
()
{
created
()
{
this
.
getList
()
;
this
.
getList
()
},
},
mounted
()
{
mounted
()
{
// new clipboard(".copy-btn");
// new clipboard(".copy-btn");
...
@@ -39,53 +39,53 @@ export default {
...
@@ -39,53 +39,53 @@ export default {
methods
:
{
methods
:
{
getList
(
page
)
{
getList
(
page
)
{
if
(
this
.
dateRange
[
0
])
{
if
(
this
.
dateRange
[
0
])
{
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
;
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
;
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
}
else
{
}
else
{
this
.
query
.
beginTime
=
""
;
this
.
query
.
beginTime
=
''
this
.
query
.
endTime
=
""
;
this
.
query
.
endTime
=
''
}
}
page
&&
(
this
.
query
.
pageNum
=
page
)
;
page
&&
(
this
.
query
.
pageNum
=
page
)
this
.
loading
=
true
;
this
.
loading
=
true
api
api
.
getList
(
this
.
query
)
.
getList
(
this
.
query
)
.
then
(({
rows
,
total
})
=>
{
.
then
(({
rows
,
total
})
=>
{
this
.
list
=
rows
;
this
.
list
=
rows
this
.
total
=
+
total
;
this
.
total
=
+
total
this
.
loading
=
false
;
this
.
loading
=
false
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
})
;
})
},
},
edit
(
data
,
type
)
{
edit
(
data
,
type
)
{
this
.
form
=
Object
.
assign
({},
data
||
{})
;
this
.
form
=
Object
.
assign
({},
data
||
{})
this
.
dialogVisible
=
true
;
this
.
dialogVisible
=
true
type
||
!
data
?
(
this
.
disabled
=
false
)
:
(
this
.
disabled
=
true
)
;
type
||
!
data
?
(
this
.
disabled
=
false
)
:
(
this
.
disabled
=
true
)
},
},
submit
()
{
submit
()
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
api
[
this
.
form
.
id
?
"update"
:
"add"
](
this
.
form
)
api
[
this
.
form
.
id
?
'update'
:
'add'
](
this
.
form
)
.
then
(()
=>
{
.
then
(()
=>
{
this
.
msgSuccess
(
"操作成功"
);
this
.
msgSuccess
(
'操作成功'
)
this
.
dialogVisible
=
false
;
this
.
dialogVisible
=
false
this
.
getList
(
!
this
.
form
.
id
&&
1
)
;
this
.
getList
(
!
this
.
form
.
id
&&
1
)
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
dialogVisible
=
false
;
this
.
dialogVisible
=
false
})
;
})
}
}
})
;
})
},
},
goRoute
(
id
,
path
)
{
goRoute
(
id
,
path
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/appTool/groupFissionAev"
,
path
:
'/appTool/groupFissionAev'
,
query
:
{
id
}
query
:
{
id
}
,
})
;
})
}
}
,
}
}
,
}
;
}
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -222,7 +222,7 @@ export default {
...
@@ -222,7 +222,7 @@ export default {
<el-radio label="label">开启</el-radio>
<el-radio label="label">开启</el-radio>
<el-radio label="label">不开启</el-radio>
<el-radio label="label">不开启</el-radio>
</el-radio-group>
</el-radio-group>
<div>开启后,可以将成员、部门的增删改以及成员的标签变更实时的同步到
塬
微SCRM,无需手动更新同步。</div>
<div>开启后,可以将成员、部门的增删改以及成员的标签变更实时的同步到
仟
微SCRM,无需手动更新同步。</div>
</el-form-item>-->
</el-form-item>-->
<el-form-item
label=
"外部联系人管理secret"
prop=
"contactSecret"
>
<el-form-item
label=
"外部联系人管理secret"
prop=
"contactSecret"
>
<el-input
v-model=
"form.contactSecret"
></el-input>
<el-input
v-model=
"form.contactSecret"
></el-input>
...
@@ -232,7 +232,7 @@ export default {
...
@@ -232,7 +232,7 @@ export default {
<el-radio label="label">开启</el-radio>
<el-radio label="label">开启</el-radio>
<el-radio label="label">不开启</el-radio>
<el-radio label="label">不开启</el-radio>
</el-radio-group>
</el-radio-group>
<div>开启后,可以将企业客户的添加、编辑以及主动删除客户和被动被客户删除实时的同步到
塬
微SCRM,无需手动更新同步。</div>
<div>开启后,可以将企业客户的添加、编辑以及主动删除客户和被动被客户删除实时的同步到
仟
微SCRM,无需手动更新同步。</div>
</el-form-item>-->
</el-form-item>-->
<el-form-item
<el-form-item
label=
"企业微信扫码登陆回调地址"
label=
"企业微信扫码登陆回调地址"
...
...
linkwe-ui/src/views/appTool/task/list.vue
View file @
e2780ca
<
script
>
<
script
>
import
*
as
api
from
"@/api/customer"
;
import
*
as
api
from
'@/api/customer'
// import clipboard from "clipboard";
// import clipboard from "clipboard";
export
default
{
export
default
{
...
@@ -10,7 +10,7 @@ export default {
...
@@ -10,7 +10,7 @@ export default {
query
:
{
query
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
,
name
:
""
name
:
''
,
},
},
dateRange
:
[],
// 添加日期
dateRange
:
[],
// 添加日期
total
:
0
,
total
:
0
,
...
@@ -20,18 +20,18 @@ export default {
...
@@ -20,18 +20,18 @@ export default {
disabled
:
false
,
disabled
:
false
,
loading
:
false
,
loading
:
false
,
rules
:
Object
.
freeze
({
rules
:
Object
.
freeze
({
name
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}],
name
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
corpId
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}],
corpId
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
corpSecret
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}],
corpSecret
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
contactSecret
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}]
contactSecret
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
}),
}),
status
:
[
"正常"
,
"停用"
]
status
:
[
'正常'
,
'停用'
],
}
;
}
},
},
watch
:
{},
watch
:
{},
computed
:
{},
computed
:
{},
created
()
{
created
()
{
this
.
getList
()
;
this
.
getList
()
},
},
mounted
()
{
mounted
()
{
// new clipboard(".copy-btn");
// new clipboard(".copy-btn");
...
@@ -39,53 +39,53 @@ export default {
...
@@ -39,53 +39,53 @@ export default {
methods
:
{
methods
:
{
getList
(
page
)
{
getList
(
page
)
{
if
(
this
.
dateRange
[
0
])
{
if
(
this
.
dateRange
[
0
])
{
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
;
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
;
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
}
else
{
}
else
{
this
.
query
.
beginTime
=
""
;
this
.
query
.
beginTime
=
''
this
.
query
.
endTime
=
""
;
this
.
query
.
endTime
=
''
}
}
page
&&
(
this
.
query
.
pageNum
=
page
)
;
page
&&
(
this
.
query
.
pageNum
=
page
)
this
.
loading
=
true
;
this
.
loading
=
true
api
api
.
getList
(
this
.
query
)
.
getList
(
this
.
query
)
.
then
(({
rows
,
total
})
=>
{
.
then
(({
rows
,
total
})
=>
{
this
.
list
=
rows
;
this
.
list
=
rows
this
.
total
=
+
total
;
this
.
total
=
+
total
this
.
loading
=
false
;
this
.
loading
=
false
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
})
;
})
},
},
edit
(
data
,
type
)
{
edit
(
data
,
type
)
{
this
.
form
=
Object
.
assign
({},
data
||
{})
;
this
.
form
=
Object
.
assign
({},
data
||
{})
this
.
dialogVisible
=
true
;
this
.
dialogVisible
=
true
type
||
!
data
?
(
this
.
disabled
=
false
)
:
(
this
.
disabled
=
true
)
;
type
||
!
data
?
(
this
.
disabled
=
false
)
:
(
this
.
disabled
=
true
)
},
},
submit
()
{
submit
()
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
api
[
this
.
form
.
id
?
"update"
:
"add"
](
this
.
form
)
api
[
this
.
form
.
id
?
'update'
:
'add'
](
this
.
form
)
.
then
(()
=>
{
.
then
(()
=>
{
this
.
msgSuccess
(
"操作成功"
);
this
.
msgSuccess
(
'操作成功'
)
this
.
dialogVisible
=
false
;
this
.
dialogVisible
=
false
this
.
getList
(
!
this
.
form
.
id
&&
1
)
;
this
.
getList
(
!
this
.
form
.
id
&&
1
)
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
dialogVisible
=
false
;
this
.
dialogVisible
=
false
})
;
})
}
}
})
;
})
},
},
goRoute
(
id
,
path
)
{
goRoute
(
id
,
path
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/appTool/taskAev"
,
path
:
'/appTool/taskAev'
,
query
:
{
id
}
query
:
{
id
}
,
})
;
})
}
}
,
}
}
,
}
;
}
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -222,7 +222,7 @@ export default {
...
@@ -222,7 +222,7 @@ export default {
<el-radio label="label">开启</el-radio>
<el-radio label="label">开启</el-radio>
<el-radio label="label">不开启</el-radio>
<el-radio label="label">不开启</el-radio>
</el-radio-group>
</el-radio-group>
<div>开启后,可以将成员、部门的增删改以及成员的标签变更实时的同步到
塬
微SCRM,无需手动更新同步。</div>
<div>开启后,可以将成员、部门的增删改以及成员的标签变更实时的同步到
仟
微SCRM,无需手动更新同步。</div>
</el-form-item>-->
</el-form-item>-->
<el-form-item
label=
"外部联系人管理secret"
prop=
"contactSecret"
>
<el-form-item
label=
"外部联系人管理secret"
prop=
"contactSecret"
>
<el-input
v-model=
"form.contactSecret"
></el-input>
<el-input
v-model=
"form.contactSecret"
></el-input>
...
@@ -232,7 +232,7 @@ export default {
...
@@ -232,7 +232,7 @@ export default {
<el-radio label="label">开启</el-radio>
<el-radio label="label">开启</el-radio>
<el-radio label="label">不开启</el-radio>
<el-radio label="label">不开启</el-radio>
</el-radio-group>
</el-radio-group>
<div>开启后,可以将企业客户的添加、编辑以及主动删除客户和被动被客户删除实时的同步到
塬
微SCRM,无需手动更新同步。</div>
<div>开启后,可以将企业客户的添加、编辑以及主动删除客户和被动被客户删除实时的同步到
仟
微SCRM,无需手动更新同步。</div>
</el-form-item>-->
</el-form-item>-->
<el-form-item
<el-form-item
label=
"企业微信扫码登陆回调地址"
label=
"企业微信扫码登陆回调地址"
...
...
linkwe-ui/src/views/communityOperating/groupSOP/list.vue
View file @
e2780ca
<
script
>
<
script
>
import
*
as
api
from
"@/api/customer"
;
import
*
as
api
from
'@/api/customer'
export
default
{
export
default
{
components
:
{},
components
:
{},
...
@@ -9,7 +9,7 @@ export default {
...
@@ -9,7 +9,7 @@ export default {
query
:
{
query
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
,
name
:
""
name
:
''
,
},
},
dateRange
:
[],
// 添加日期
dateRange
:
[],
// 添加日期
total
:
0
,
total
:
0
,
...
@@ -19,22 +19,22 @@ export default {
...
@@ -19,22 +19,22 @@ export default {
disabled
:
false
,
disabled
:
false
,
loading
:
false
,
loading
:
false
,
rules
:
Object
.
freeze
({
rules
:
Object
.
freeze
({
name
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}],
name
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
corpId
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}],
corpId
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
corpSecret
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}],
corpSecret
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
contactSecret
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}]
contactSecret
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
}),
}),
status
:
[
"正常"
,
"停用"
],
status
:
[
'正常'
,
'停用'
],
pushType
:
{
pushType
:
{
0
:
"发给客户"
,
0
:
'发给客户'
,
1
:
"发给客户群"
1
:
'发给客户群'
,
},
}
}
};
},
},
watch
:
{},
watch
:
{},
computed
:
{},
computed
:
{},
created
()
{
created
()
{
this
.
getList
()
;
this
.
getList
()
},
},
mounted
()
{
mounted
()
{
// new clipboard(".copy-btn");
// new clipboard(".copy-btn");
...
@@ -42,53 +42,53 @@ export default {
...
@@ -42,53 +42,53 @@ export default {
methods
:
{
methods
:
{
getList
(
page
)
{
getList
(
page
)
{
if
(
this
.
dateRange
[
0
])
{
if
(
this
.
dateRange
[
0
])
{
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
;
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
;
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
}
else
{
}
else
{
this
.
query
.
beginTime
=
""
;
this
.
query
.
beginTime
=
''
this
.
query
.
endTime
=
""
;
this
.
query
.
endTime
=
''
}
}
page
&&
(
this
.
query
.
pageNum
=
page
)
;
page
&&
(
this
.
query
.
pageNum
=
page
)
this
.
loading
=
true
;
this
.
loading
=
true
api
api
.
getList
(
this
.
query
)
.
getList
(
this
.
query
)
.
then
(({
rows
,
total
})
=>
{
.
then
(({
rows
,
total
})
=>
{
this
.
list
=
rows
;
this
.
list
=
rows
this
.
total
=
+
total
;
this
.
total
=
+
total
this
.
loading
=
false
;
this
.
loading
=
false
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
})
;
})
},
},
edit
(
data
,
type
)
{
edit
(
data
,
type
)
{
this
.
form
=
Object
.
assign
({},
data
||
{})
;
this
.
form
=
Object
.
assign
({},
data
||
{})
this
.
dialogVisible
=
true
;
this
.
dialogVisible
=
true
type
||
!
data
?
(
this
.
disabled
=
false
)
:
(
this
.
disabled
=
true
)
;
type
||
!
data
?
(
this
.
disabled
=
false
)
:
(
this
.
disabled
=
true
)
},
},
submit
()
{
submit
()
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
api
[
this
.
form
.
id
?
"update"
:
"add"
](
this
.
form
)
api
[
this
.
form
.
id
?
'update'
:
'add'
](
this
.
form
)
.
then
(()
=>
{
.
then
(()
=>
{
this
.
msgSuccess
(
"操作成功"
);
this
.
msgSuccess
(
'操作成功'
)
this
.
dialogVisible
=
false
;
this
.
dialogVisible
=
false
this
.
getList
(
!
this
.
form
.
id
&&
1
)
;
this
.
getList
(
!
this
.
form
.
id
&&
1
)
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
dialogVisible
=
false
;
this
.
dialogVisible
=
false
})
;
})
}
}
})
;
})
},
},
goRoute
(
id
,
path
)
{
goRoute
(
id
,
path
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/communityOperating/groupSOPAev"
,
path
:
'/communityOperating/groupSOPAev'
,
query
:
{
id
}
query
:
{
id
}
,
})
;
})
}
}
,
}
}
,
}
;
}
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -207,7 +207,7 @@ export default {
...
@@ -207,7 +207,7 @@ export default {
<el-radio label="label">开启</el-radio>
<el-radio label="label">开启</el-radio>
<el-radio label="label">不开启</el-radio>
<el-radio label="label">不开启</el-radio>
</el-radio-group>
</el-radio-group>
<div>开启后,可以将成员、部门的增删改以及成员的标签变更实时的同步到
塬
微SCRM,无需手动更新同步。</div>
<div>开启后,可以将成员、部门的增删改以及成员的标签变更实时的同步到
仟
微SCRM,无需手动更新同步。</div>
</el-form-item>-->
</el-form-item>-->
<el-form-item
label=
"外部联系人管理secret"
prop=
"contactSecret"
>
<el-form-item
label=
"外部联系人管理secret"
prop=
"contactSecret"
>
<el-input
v-model=
"form.contactSecret"
></el-input>
<el-input
v-model=
"form.contactSecret"
></el-input>
...
@@ -217,7 +217,7 @@ export default {
...
@@ -217,7 +217,7 @@ export default {
<el-radio label="label">开启</el-radio>
<el-radio label="label">开启</el-radio>
<el-radio label="label">不开启</el-radio>
<el-radio label="label">不开启</el-radio>
</el-radio-group>
</el-radio-group>
<div>开启后,可以将企业客户的添加、编辑以及主动删除客户和被动被客户删除实时的同步到
塬
微SCRM,无需手动更新同步。</div>
<div>开启后,可以将企业客户的添加、编辑以及主动删除客户和被动被客户删除实时的同步到
仟
微SCRM,无需手动更新同步。</div>
</el-form-item>-->
</el-form-item>-->
<el-form-item
<el-form-item
label=
"企业微信扫码登陆回调地址"
label=
"企业微信扫码登陆回调地址"
...
...
linkwe-ui/src/views/communityOperating/keywords/list.vue
View file @
e2780ca
<
script
>
<
script
>
import
*
as
api
from
"@/api/customer"
;
import
*
as
api
from
'@/api/customer'
export
default
{
export
default
{
components
:
{},
components
:
{},
...
@@ -9,7 +9,7 @@ export default {
...
@@ -9,7 +9,7 @@ export default {
query
:
{
query
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
,
name
:
""
name
:
''
,
},
},
dateRange
:
[],
// 添加日期
dateRange
:
[],
// 添加日期
total
:
0
,
total
:
0
,
...
@@ -19,22 +19,22 @@ export default {
...
@@ -19,22 +19,22 @@ export default {
disabled
:
false
,
disabled
:
false
,
loading
:
false
,
loading
:
false
,
rules
:
Object
.
freeze
({
rules
:
Object
.
freeze
({
name
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}],
name
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
corpId
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}],
corpId
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
corpSecret
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}],
corpSecret
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
contactSecret
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}]
contactSecret
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
}),
}),
status
:
[
"正常"
,
"停用"
],
status
:
[
'正常'
,
'停用'
],
pushType
:
{
pushType
:
{
0
:
"发给客户"
,
0
:
'发给客户'
,
1
:
"发给客户群"
1
:
'发给客户群'
,
},
}
}
};
},
},
watch
:
{},
watch
:
{},
computed
:
{},
computed
:
{},
created
()
{
created
()
{
this
.
getList
()
;
this
.
getList
()
},
},
mounted
()
{
mounted
()
{
// new clipboard(".copy-btn");
// new clipboard(".copy-btn");
...
@@ -42,53 +42,53 @@ export default {
...
@@ -42,53 +42,53 @@ export default {
methods
:
{
methods
:
{
getList
(
page
)
{
getList
(
page
)
{
if
(
this
.
dateRange
[
0
])
{
if
(
this
.
dateRange
[
0
])
{
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
;
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
;
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
}
else
{
}
else
{
this
.
query
.
beginTime
=
""
;
this
.
query
.
beginTime
=
''
this
.
query
.
endTime
=
""
;
this
.
query
.
endTime
=
''
}
}
page
&&
(
this
.
query
.
pageNum
=
page
)
;
page
&&
(
this
.
query
.
pageNum
=
page
)
this
.
loading
=
true
;
this
.
loading
=
true
api
api
.
getList
(
this
.
query
)
.
getList
(
this
.
query
)
.
then
(({
rows
,
total
})
=>
{
.
then
(({
rows
,
total
})
=>
{
this
.
list
=
rows
;
this
.
list
=
rows
this
.
total
=
+
total
;
this
.
total
=
+
total
this
.
loading
=
false
;
this
.
loading
=
false
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
})
;
})
},
},
edit
(
data
,
type
)
{
edit
(
data
,
type
)
{
this
.
form
=
Object
.
assign
({},
data
||
{})
;
this
.
form
=
Object
.
assign
({},
data
||
{})
this
.
dialogVisible
=
true
;
this
.
dialogVisible
=
true
type
||
!
data
?
(
this
.
disabled
=
false
)
:
(
this
.
disabled
=
true
)
;
type
||
!
data
?
(
this
.
disabled
=
false
)
:
(
this
.
disabled
=
true
)
},
},
submit
()
{
submit
()
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
api
[
this
.
form
.
id
?
"update"
:
"add"
](
this
.
form
)
api
[
this
.
form
.
id
?
'update'
:
'add'
](
this
.
form
)
.
then
(()
=>
{
.
then
(()
=>
{
this
.
msgSuccess
(
"操作成功"
);
this
.
msgSuccess
(
'操作成功'
)
this
.
dialogVisible
=
false
;
this
.
dialogVisible
=
false
this
.
getList
(
!
this
.
form
.
id
&&
1
)
;
this
.
getList
(
!
this
.
form
.
id
&&
1
)
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
dialogVisible
=
false
;
this
.
dialogVisible
=
false
})
;
})
}
}
})
;
})
},
},
goRoute
(
id
,
path
)
{
goRoute
(
id
,
path
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/communityOperating/keywordsAev"
,
path
:
'/communityOperating/keywordsAev'
,
query
:
{
id
}
query
:
{
id
}
,
})
;
})
}
}
,
}
}
,
}
;
}
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -219,7 +219,7 @@ export default {
...
@@ -219,7 +219,7 @@ export default {
<el-radio label="label">开启</el-radio>
<el-radio label="label">开启</el-radio>
<el-radio label="label">不开启</el-radio>
<el-radio label="label">不开启</el-radio>
</el-radio-group>
</el-radio-group>
<div>开启后,可以将成员、部门的增删改以及成员的标签变更实时的同步到
塬
微SCRM,无需手动更新同步。</div>
<div>开启后,可以将成员、部门的增删改以及成员的标签变更实时的同步到
仟
微SCRM,无需手动更新同步。</div>
</el-form-item>-->
</el-form-item>-->
<el-form-item
label=
"外部联系人管理secret"
prop=
"contactSecret"
>
<el-form-item
label=
"外部联系人管理secret"
prop=
"contactSecret"
>
<el-input
v-model=
"form.contactSecret"
></el-input>
<el-input
v-model=
"form.contactSecret"
></el-input>
...
@@ -229,7 +229,7 @@ export default {
...
@@ -229,7 +229,7 @@ export default {
<el-radio label="label">开启</el-radio>
<el-radio label="label">开启</el-radio>
<el-radio label="label">不开启</el-radio>
<el-radio label="label">不开启</el-radio>
</el-radio-group>
</el-radio-group>
<div>开启后,可以将企业客户的添加、编辑以及主动删除客户和被动被客户删除实时的同步到
塬
微SCRM,无需手动更新同步。</div>
<div>开启后,可以将企业客户的添加、编辑以及主动删除客户和被动被客户删除实时的同步到
仟
微SCRM,无需手动更新同步。</div>
</el-form-item>-->
</el-form-item>-->
<el-form-item
<el-form-item
label=
"企业微信扫码登陆回调地址"
label=
"企业微信扫码登陆回调地址"
...
...
linkwe-ui/src/views/communityOperating/newCustomer/list.vue
View file @
e2780ca
<
script
>
<
script
>
import
*
as
api
from
"@/api/customer"
;
import
*
as
api
from
'@/api/customer'
export
default
{
export
default
{
components
:
{},
components
:
{},
...
@@ -9,7 +9,7 @@ export default {
...
@@ -9,7 +9,7 @@ export default {
query
:
{
query
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
,
name
:
""
name
:
''
,
},
},
dateRange
:
[],
// 添加日期
dateRange
:
[],
// 添加日期
total
:
0
,
total
:
0
,
...
@@ -19,22 +19,22 @@ export default {
...
@@ -19,22 +19,22 @@ export default {
disabled
:
false
,
disabled
:
false
,
loading
:
false
,
loading
:
false
,
rules
:
Object
.
freeze
({
rules
:
Object
.
freeze
({
name
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}],
name
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
corpId
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}],
corpId
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
corpSecret
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}],
corpSecret
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
contactSecret
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}]
contactSecret
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
}),
}),
status
:
[
"正常"
,
"停用"
],
status
:
[
'正常'
,
'停用'
],
pushType
:
{
pushType
:
{
0
:
"发给客户"
,
0
:
'发给客户'
,
1
:
"发给客户群"
1
:
'发给客户群'
,
},
}
}
};
},
},
watch
:
{},
watch
:
{},
computed
:
{},
computed
:
{},
created
()
{
created
()
{
this
.
getList
()
;
this
.
getList
()
},
},
mounted
()
{
mounted
()
{
// new clipboard(".copy-btn");
// new clipboard(".copy-btn");
...
@@ -42,53 +42,53 @@ export default {
...
@@ -42,53 +42,53 @@ export default {
methods
:
{
methods
:
{
getList
(
page
)
{
getList
(
page
)
{
if
(
this
.
dateRange
[
0
])
{
if
(
this
.
dateRange
[
0
])
{
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
;
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
;
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
}
else
{
}
else
{
this
.
query
.
beginTime
=
""
;
this
.
query
.
beginTime
=
''
this
.
query
.
endTime
=
""
;
this
.
query
.
endTime
=
''
}
}
page
&&
(
this
.
query
.
pageNum
=
page
)
;
page
&&
(
this
.
query
.
pageNum
=
page
)
this
.
loading
=
true
;
this
.
loading
=
true
api
api
.
getList
(
this
.
query
)
.
getList
(
this
.
query
)
.
then
(({
rows
,
total
})
=>
{
.
then
(({
rows
,
total
})
=>
{
this
.
list
=
rows
;
this
.
list
=
rows
this
.
total
=
+
total
;
this
.
total
=
+
total
this
.
loading
=
false
;
this
.
loading
=
false
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
})
;
})
},
},
edit
(
data
,
type
)
{
edit
(
data
,
type
)
{
this
.
form
=
Object
.
assign
({},
data
||
{})
;
this
.
form
=
Object
.
assign
({},
data
||
{})
this
.
dialogVisible
=
true
;
this
.
dialogVisible
=
true
type
||
!
data
?
(
this
.
disabled
=
false
)
:
(
this
.
disabled
=
true
)
;
type
||
!
data
?
(
this
.
disabled
=
false
)
:
(
this
.
disabled
=
true
)
},
},
submit
()
{
submit
()
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
api
[
this
.
form
.
id
?
"update"
:
"add"
](
this
.
form
)
api
[
this
.
form
.
id
?
'update'
:
'add'
](
this
.
form
)
.
then
(()
=>
{
.
then
(()
=>
{
this
.
msgSuccess
(
"操作成功"
);
this
.
msgSuccess
(
'操作成功'
)
this
.
dialogVisible
=
false
;
this
.
dialogVisible
=
false
this
.
getList
(
!
this
.
form
.
id
&&
1
)
;
this
.
getList
(
!
this
.
form
.
id
&&
1
)
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
dialogVisible
=
false
;
this
.
dialogVisible
=
false
})
;
})
}
}
})
;
})
},
},
goRoute
(
id
,
path
)
{
goRoute
(
id
,
path
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/communityOperating/newCustomerAev"
,
path
:
'/communityOperating/newCustomerAev'
,
query
:
{
id
}
query
:
{
id
}
,
})
;
})
}
}
,
}
}
,
}
;
}
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -231,7 +231,7 @@ export default {
...
@@ -231,7 +231,7 @@ export default {
<el-radio label="label">开启</el-radio>
<el-radio label="label">开启</el-radio>
<el-radio label="label">不开启</el-radio>
<el-radio label="label">不开启</el-radio>
</el-radio-group>
</el-radio-group>
<div>开启后,可以将成员、部门的增删改以及成员的标签变更实时的同步到
塬
微SCRM,无需手动更新同步。</div>
<div>开启后,可以将成员、部门的增删改以及成员的标签变更实时的同步到
仟
微SCRM,无需手动更新同步。</div>
</el-form-item>-->
</el-form-item>-->
<el-form-item
label=
"外部联系人管理secret"
prop=
"contactSecret"
>
<el-form-item
label=
"外部联系人管理secret"
prop=
"contactSecret"
>
<el-input
v-model=
"form.contactSecret"
></el-input>
<el-input
v-model=
"form.contactSecret"
></el-input>
...
@@ -241,7 +241,7 @@ export default {
...
@@ -241,7 +241,7 @@ export default {
<el-radio label="label">开启</el-radio>
<el-radio label="label">开启</el-radio>
<el-radio label="label">不开启</el-radio>
<el-radio label="label">不开启</el-radio>
</el-radio-group>
</el-radio-group>
<div>开启后,可以将企业客户的添加、编辑以及主动删除客户和被动被客户删除实时的同步到
塬
微SCRM,无需手动更新同步。</div>
<div>开启后,可以将企业客户的添加、编辑以及主动删除客户和被动被客户删除实时的同步到
仟
微SCRM,无需手动更新同步。</div>
</el-form-item>-->
</el-form-item>-->
<el-form-item
<el-form-item
label=
"企业微信扫码登陆回调地址"
label=
"企业微信扫码登陆回调地址"
...
...
linkwe-ui/src/views/communityOperating/oldCustomer/list.vue
View file @
e2780ca
<
script
>
<
script
>
import
*
as
api
from
"@/api/customer"
;
import
*
as
api
from
'@/api/customer'
// import clipboard from "clipboard";
// import clipboard from "clipboard";
export
default
{
export
default
{
...
@@ -10,7 +10,7 @@ export default {
...
@@ -10,7 +10,7 @@ export default {
query
:
{
query
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
,
name
:
""
name
:
''
,
},
},
dateRange
:
[],
// 添加日期
dateRange
:
[],
// 添加日期
total
:
0
,
total
:
0
,
...
@@ -20,18 +20,18 @@ export default {
...
@@ -20,18 +20,18 @@ export default {
disabled
:
false
,
disabled
:
false
,
loading
:
false
,
loading
:
false
,
rules
:
Object
.
freeze
({
rules
:
Object
.
freeze
({
name
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}],
name
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
corpId
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}],
corpId
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
corpSecret
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}],
corpSecret
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
contactSecret
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}]
contactSecret
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
}),
}),
status
:
[
"正常"
,
"停用"
]
status
:
[
'正常'
,
'停用'
],
}
;
}
},
},
watch
:
{},
watch
:
{},
computed
:
{},
computed
:
{},
created
()
{
created
()
{
this
.
getList
()
;
this
.
getList
()
},
},
mounted
()
{
mounted
()
{
// new clipboard(".copy-btn");
// new clipboard(".copy-btn");
...
@@ -39,53 +39,53 @@ export default {
...
@@ -39,53 +39,53 @@ export default {
methods
:
{
methods
:
{
getList
(
page
)
{
getList
(
page
)
{
if
(
this
.
dateRange
[
0
])
{
if
(
this
.
dateRange
[
0
])
{
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
;
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
;
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
}
else
{
}
else
{
this
.
query
.
beginTime
=
""
;
this
.
query
.
beginTime
=
''
this
.
query
.
endTime
=
""
;
this
.
query
.
endTime
=
''
}
}
page
&&
(
this
.
query
.
pageNum
=
page
)
;
page
&&
(
this
.
query
.
pageNum
=
page
)
this
.
loading
=
true
;
this
.
loading
=
true
api
api
.
getList
(
this
.
query
)
.
getList
(
this
.
query
)
.
then
(({
rows
,
total
})
=>
{
.
then
(({
rows
,
total
})
=>
{
this
.
list
=
rows
;
this
.
list
=
rows
this
.
total
=
+
total
;
this
.
total
=
+
total
this
.
loading
=
false
;
this
.
loading
=
false
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
})
;
})
},
},
edit
(
data
,
type
)
{
edit
(
data
,
type
)
{
this
.
form
=
Object
.
assign
({},
data
||
{})
;
this
.
form
=
Object
.
assign
({},
data
||
{})
this
.
dialogVisible
=
true
;
this
.
dialogVisible
=
true
type
||
!
data
?
(
this
.
disabled
=
false
)
:
(
this
.
disabled
=
true
)
;
type
||
!
data
?
(
this
.
disabled
=
false
)
:
(
this
.
disabled
=
true
)
},
},
submit
()
{
submit
()
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
api
[
this
.
form
.
id
?
"update"
:
"add"
](
this
.
form
)
api
[
this
.
form
.
id
?
'update'
:
'add'
](
this
.
form
)
.
then
(()
=>
{
.
then
(()
=>
{
this
.
msgSuccess
(
"操作成功"
);
this
.
msgSuccess
(
'操作成功'
)
this
.
dialogVisible
=
false
;
this
.
dialogVisible
=
false
this
.
getList
(
!
this
.
form
.
id
&&
1
)
;
this
.
getList
(
!
this
.
form
.
id
&&
1
)
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
dialogVisible
=
false
;
this
.
dialogVisible
=
false
})
;
})
}
}
})
;
})
},
},
goRoute
(
id
,
path
)
{
goRoute
(
id
,
path
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/communityOperating/oldCustomerAev"
,
path
:
'/communityOperating/oldCustomerAev'
,
query
:
{
id
}
query
:
{
id
}
,
})
;
})
}
}
,
}
}
,
}
;
}
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -222,7 +222,7 @@ export default {
...
@@ -222,7 +222,7 @@ export default {
<el-radio label="label">开启</el-radio>
<el-radio label="label">开启</el-radio>
<el-radio label="label">不开启</el-radio>
<el-radio label="label">不开启</el-radio>
</el-radio-group>
</el-radio-group>
<div>开启后,可以将成员、部门的增删改以及成员的标签变更实时的同步到
塬
微SCRM,无需手动更新同步。</div>
<div>开启后,可以将成员、部门的增删改以及成员的标签变更实时的同步到
仟
微SCRM,无需手动更新同步。</div>
</el-form-item>-->
</el-form-item>-->
<el-form-item
label=
"外部联系人管理secret"
prop=
"contactSecret"
>
<el-form-item
label=
"外部联系人管理secret"
prop=
"contactSecret"
>
<el-input
v-model=
"form.contactSecret"
></el-input>
<el-input
v-model=
"form.contactSecret"
></el-input>
...
@@ -232,7 +232,7 @@ export default {
...
@@ -232,7 +232,7 @@ export default {
<el-radio label="label">开启</el-radio>
<el-radio label="label">开启</el-radio>
<el-radio label="label">不开启</el-radio>
<el-radio label="label">不开启</el-radio>
</el-radio-group>
</el-radio-group>
<div>开启后,可以将企业客户的添加、编辑以及主动删除客户和被动被客户删除实时的同步到
塬
微SCRM,无需手动更新同步。</div>
<div>开启后,可以将企业客户的添加、编辑以及主动删除客户和被动被客户删除实时的同步到
仟
微SCRM,无需手动更新同步。</div>
</el-form-item>-->
</el-form-item>-->
<el-form-item
<el-form-item
label=
"企业微信扫码登陆回调地址"
label=
"企业微信扫码登陆回调地址"
...
...
linkwe-ui/src/views/enterpriseWechat/list.vue
View file @
e2780ca
<
script
>
<
script
>
import
*
as
api
from
"@/api/enterpriseId"
;
import
*
as
api
from
'@/api/enterpriseId'
// import clipboard from "clipboard";
// import clipboard from "clipboard";
export
default
{
export
default
{
...
@@ -10,7 +10,7 @@ export default {
...
@@ -10,7 +10,7 @@ export default {
query
:
{
query
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
,
companyName
:
""
companyName
:
''
,
},
},
total
:
0
,
total
:
0
,
form
:
{},
form
:
{},
...
@@ -19,65 +19,65 @@ export default {
...
@@ -19,65 +19,65 @@ export default {
disabled
:
false
,
disabled
:
false
,
loading
:
false
,
loading
:
false
,
rules
:
Object
.
freeze
({
rules
:
Object
.
freeze
({
companyName
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}],
companyName
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
corpId
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}],
corpId
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
corpSecret
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}],
corpSecret
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
contactSecret
:
[{
required
:
true
,
message
:
"必填项"
,
trigger
:
"blur"
}]
contactSecret
:
[{
required
:
true
,
message
:
'必填项'
,
trigger
:
'blur'
}],
}),
}),
status
:
[
"正常"
,
"停用"
]
status
:
[
'正常'
,
'停用'
],
}
;
}
},
},
watch
:
{},
watch
:
{},
computed
:
{},
computed
:
{},
created
()
{
created
()
{
this
.
getList
()
;
this
.
getList
()
},
},
mounted
()
{
mounted
()
{
// new clipboard(".copy-btn");
// new clipboard(".copy-btn");
},
},
methods
:
{
methods
:
{
getList
(
page
)
{
getList
(
page
)
{
page
&&
(
this
.
query
.
pageNum
=
page
)
;
page
&&
(
this
.
query
.
pageNum
=
page
)
this
.
loading
=
true
;
this
.
loading
=
true
api
api
.
getList
(
this
.
query
)
.
getList
(
this
.
query
)
.
then
(({
rows
,
total
})
=>
{
.
then
(({
rows
,
total
})
=>
{
this
.
list
=
rows
;
this
.
list
=
rows
this
.
total
=
+
total
;
this
.
total
=
+
total
this
.
loading
=
false
;
this
.
loading
=
false
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
})
;
})
},
},
edit
(
data
,
type
)
{
edit
(
data
,
type
)
{
this
.
form
=
Object
.
assign
({},
data
||
{})
;
this
.
form
=
Object
.
assign
({},
data
||
{})
this
.
dialogVisible
=
true
;
this
.
dialogVisible
=
true
type
||
!
data
?
(
this
.
disabled
=
false
)
:
(
this
.
disabled
=
true
)
;
type
||
!
data
?
(
this
.
disabled
=
false
)
:
(
this
.
disabled
=
true
)
},
},
submit
()
{
submit
()
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
api
[
this
.
form
.
id
?
"update"
:
"add"
](
this
.
form
)
api
[
this
.
form
.
id
?
'update'
:
'add'
](
this
.
form
)
.
then
(()
=>
{
.
then
(()
=>
{
this
.
msgSuccess
(
"操作成功"
);
this
.
msgSuccess
(
'操作成功'
)
this
.
dialogVisible
=
false
;
this
.
dialogVisible
=
false
this
.
getList
(
!
this
.
form
.
id
&&
1
)
;
this
.
getList
(
!
this
.
form
.
id
&&
1
)
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
dialogVisible
=
false
;
this
.
dialogVisible
=
false
})
;
})
}
}
})
;
})
},
},
start
(
corpId
)
{
start
(
corpId
)
{
api
.
start
(
corpId
).
then
(({
rows
,
total
})
=>
{
api
.
start
(
corpId
).
then
(({
rows
,
total
})
=>
{
this
.
msgSuccess
(
"操作成功"
);
this
.
msgSuccess
(
'操作成功'
)
this
.
getList
()
;
this
.
getList
()
})
;
})
}
}
,
}
}
,
}
;
}
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -227,7 +227,7 @@ export default {
...
@@ -227,7 +227,7 @@ export default {
<el-radio label="label">开启</el-radio>
<el-radio label="label">开启</el-radio>
<el-radio label="label">不开启</el-radio>
<el-radio label="label">不开启</el-radio>
</el-radio-group>
</el-radio-group>
<div>开启后,可以将成员、部门的增删改以及成员的标签变更实时的同步到
塬
微SCRM,无需手动更新同步。</div>
<div>开启后,可以将成员、部门的增删改以及成员的标签变更实时的同步到
仟
微SCRM,无需手动更新同步。</div>
</el-form-item>-->
</el-form-item>-->
<el-form-item
label=
"外部联系人管理secret"
prop=
"contactSecret"
>
<el-form-item
label=
"外部联系人管理secret"
prop=
"contactSecret"
>
<el-input
v-model=
"form.contactSecret"
></el-input>
<el-input
v-model=
"form.contactSecret"
></el-input>
...
@@ -237,7 +237,7 @@ export default {
...
@@ -237,7 +237,7 @@ export default {
<el-radio label="label">开启</el-radio>
<el-radio label="label">开启</el-radio>
<el-radio label="label">不开启</el-radio>
<el-radio label="label">不开启</el-radio>
</el-radio-group>
</el-radio-group>
<div>开启后,可以将企业客户的添加、编辑以及主动删除客户和被动被客户删除实时的同步到
塬
微SCRM,无需手动更新同步。</div>
<div>开启后,可以将企业客户的添加、编辑以及主动删除客户和被动被客户删除实时的同步到
仟
微SCRM,无需手动更新同步。</div>
</el-form-item>-->
</el-form-item>-->
<el-form-item
<el-form-item
label=
"企业微信扫码登陆回调地址"
label=
"企业微信扫码登陆回调地址"
...
...
linkwe-ui/src/views/groupMessage/record.vue
View file @
e2780ca
...
@@ -106,13 +106,15 @@ export default {
...
@@ -106,13 +106,15 @@ export default {
let
{
msgid
,
messageId
}
=
data
let
{
msgid
,
messageId
}
=
data
syncMsg
({
msgid
,
messageId
})
syncMsg
({
msgid
,
messageId
})
.
then
(({
data
})
=>
{
.
then
(({
data
})
=>
{
this
.
msgSuccess
(
'同步成功'
)
this
.
getList
()
// this.list = rows
// this.list = rows
// this.total = +total
// this.total = +total
// this.loading = false
// this.loading = false
// this.ids = []
// this.ids = []
})
})
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
loading
=
false
//
this.loading = false
})
})
},
},
},
},
...
...
linkwe-ui/src/views/login.vue
View file @
e2780ca
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
:rules=
"loginRules"
:rules=
"loginRules"
class=
"login-form"
class=
"login-form"
>
>
<h3
class=
"title"
>
塬
微后台管理系统
</h3>
<h3
class=
"title"
>
仟
微后台管理系统
</h3>
<el-form-item
prop=
"username"
>
<el-form-item
prop=
"username"
>
<el-input
<el-input
v-model=
"loginForm.username"
v-model=
"loginForm.username"
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment