Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
94b9d27a
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1437
Star
162
Fork
130
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
94b9d27a
编写于
7月 09, 2022
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
【CRM】删除客户分组功能
上级
688c185b
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
9 addition
and
420 deletion
+9
-420
README.md
README.md
+2
-2
crm/src/main/resources/template/js/customerGroup/customerGroupAdd.js
...n/resources/template/js/customerGroup/customerGroupAdd.js
+0
-36
crm/src/main/resources/template/js/customerGroup/customerGroupEdit.js
.../resources/template/js/customerGroup/customerGroupEdit.js
+0
-47
crm/src/main/resources/template/js/customerGroup/customerGroupList.js
.../resources/template/js/customerGroup/customerGroupList.js
+0
-153
crm/src/main/resources/template/js/customermanage/customeradd.js
.../main/resources/template/js/customermanage/customeradd.js
+3
-18
crm/src/main/resources/template/js/customermanage/customeredit.js
...main/resources/template/js/customermanage/customeredit.js
+3
-19
crm/src/main/resources/template/tpl/customerGroup/customerGroupAdd.html
...esources/template/tpl/customerGroup/customerGroupAdd.html
+0
-38
crm/src/main/resources/template/tpl/customerGroup/customerGroupEdit.html
...sources/template/tpl/customerGroup/customerGroupEdit.html
+0
-21
crm/src/main/resources/template/tpl/customerGroup/customerGroupEditTemplate.tpl
.../template/tpl/customerGroup/customerGroupEditTemplate.tpl
+0
-20
crm/src/main/resources/template/tpl/customerGroup/customerGroupList.html
...sources/template/tpl/customerGroup/customerGroupList.html
+0
-66
web/src/main/resources/template/json/sysDictData.json
web/src/main/resources/template/json/sysDictData.json
+1
-0
未找到文件。
README.md
浏览文件 @
94b9d27a
...
@@ -17,8 +17,8 @@
...
@@ -17,8 +17,8 @@
### 联系作者
### 联系作者
| 作者微信/或者搜索 wzq_598748873 | QQ交流群/或者搜索 1016439713 | 更新资讯公众号 | 企业版设计思路知识星球 | 扫码进微信群畅聊(禁止发广告) |
| 作者微信/或者搜索 wzq_598748873
,加上之后请先自报家门
| QQ交流群/或者搜索 1016439713 | 更新资讯公众号 | 企业版设计思路知识星球 | 扫码进微信群畅聊(禁止发广告) |
|
------
| ---- | ---- | ---- |----------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
------------------------------------------------------------------------------------------------------------------------------
| ---- | ---- | ---- |----------------------------------------------------------------------------------------------------------------------------------------------------------------|
| !
[](
https://gitee.com/doc_wei01/skyeye/raw/company_server/web/src/main/resources/template/tpl/common/%E5%BE%AE%E4%BF%A1.jpg
)
| !
[](
https://gitee.com/doc_wei01/skyeye/raw/company_server/web/src/main/resources/template/tpl/common/skyeye%E7%B3%BB%E5%88%97QQ%E7%BE%A4%E8%81%8A%E4%BA%8C%E7%BB%B4%E7%A0%81.png
)
|!
[](
https://images.gitee.com/uploads/images/2021/0320/091531_8c3ba4d8_1541735.jpeg
"qrcode_for_gh_e7f97ff1beda_430.jpg"
)
| !
[](
https://gitee.com/doc_wei01/skyeye/raw/company_server/web/src/main/resources/template/tpl/common/%E7%9F%A5%E8%AF%86%E6%98%9F%E7%90%83.png
)
| !
[](
https://gitee.com/doc_wei01/skyeye/raw/company_server/web/src/main/resources/template/tpl/common/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20220626095834.jpg
)
|
| !
[](
https://gitee.com/doc_wei01/skyeye/raw/company_server/web/src/main/resources/template/tpl/common/%E5%BE%AE%E4%BF%A1.jpg
)
| !
[](
https://gitee.com/doc_wei01/skyeye/raw/company_server/web/src/main/resources/template/tpl/common/skyeye%E7%B3%BB%E5%88%97QQ%E7%BE%A4%E8%81%8A%E4%BA%8C%E7%BB%B4%E7%A0%81.png
)
|!
[](
https://images.gitee.com/uploads/images/2021/0320/091531_8c3ba4d8_1541735.jpeg
"qrcode_for_gh_e7f97ff1beda_430.jpg"
)
| !
[](
https://gitee.com/doc_wei01/skyeye/raw/company_server/web/src/main/resources/template/tpl/common/%E7%9F%A5%E8%AF%86%E6%98%9F%E7%90%83.png
)
| !
[](
https://gitee.com/doc_wei01/skyeye/raw/company_server/web/src/main/resources/template/tpl/common/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20220626095834.jpg
)
|
#### 功能介绍
#### 功能介绍
...
...
crm/src/main/resources/template/js/customerGroup/customerGroupAdd.js
已删除
100644 → 0
浏览文件 @
688c185b
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
textool
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
textool
=
layui
.
textool
;
textool
.
init
({
eleId
:
'
desc
'
,
maxlength
:
200
});
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
groupName
:
$
(
"
#groupName
"
).
val
(),
desc
:
$
(
"
#desc
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
customergroup002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
crm/src/main/resources/template/js/customerGroup/customerGroupEdit.js
已删除
100644 → 0
浏览文件 @
688c185b
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
textool
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
textool
=
layui
.
textool
;
showGrid
({
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
customergroup003
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/customerGroup/customerGroupEditTemplate.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
json
)
{
textool
.
init
({
eleId
:
'
desc
'
,
maxlength
:
200
});
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
rowId
:
parent
.
rowId
,
groupName
:
$
(
"
#groupName
"
).
val
(),
desc
:
$
(
"
#desc
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
customergroup004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
}
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
});
\ No newline at end of file
crm/src/main/resources/template/js/customerGroup/customerGroupList.js
已删除
100644 → 0
浏览文件 @
688c185b
var
rowId
=
""
;
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
;
authBtn
(
'
1596549632072
'
);
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
flowableBasePath
+
'
customergroup001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
groupName
'
,
title
:
'
分组名称
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
state
'
,
title
:
'
状态
'
,
width
:
80
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
if
(
d
.
state
==
'
1
'
){
return
"
<span class='state-new'>新建</span>
"
;
}
else
if
(
d
.
state
==
'
2
'
){
return
"
<span class='state-up'>上线</span>
"
;
}
else
if
(
d
.
state
==
'
3
'
){
return
"
<span class='state-down'>下线</span>
"
;
}
else
{
return
"
参数错误
"
;
}
}},
{
field
:
'
desc
'
,
title
:
'
描述
'
,
align
:
'
left
'
,
width
:
200
},
{
field
:
'
createName
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
align
:
'
left
'
,
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
'
center
'
,
width
:
100
},
{
field
:
'
lastUpdateName
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateName
"
][
languageType
],
align
:
'
left
'
,
width
:
100
},
{
field
:
'
lastUpdateTime
'
,
title
:
'
最后修改时间
'
,
align
:
'
center
'
,
width
:
100
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
150
,
toolbar
:
'
#tableBar
'
}
]],
done
:
function
(){
matchingLanguage
();
}
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
edit
'
)
{
// 编辑
edit
(
data
);
}
else
if
(
layEvent
===
'
delete
'
){
// 删除
del
(
data
);
}
else
if
(
layEvent
===
'
up
'
)
{
// 上线
up
(
data
);
}
else
if
(
layEvent
===
'
down
'
)
{
// 下线
down
(
data
);
}
});
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
refreshTable
();
}
return
false
;
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
function
loadTable
(){
table
.
reload
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
refreshTable
(){
table
.
reload
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
}
//新增
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/customerGroup/customerGroupAdd.html
"
,
title
:
systemLanguage
[
"
com.skyeye.addPageTitle
"
][
languageType
],
pageId
:
"
customerGroupAdd
"
,
area
:
[
'
60vw
'
,
'
60vh
'
],
callBack
:
function
(
refreshCode
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
//编辑
function
edit
(
data
){
rowId
=
data
.
id
;
_openNewWindows
({
url
:
"
../../tpl/customerGroup/customerGroupEdit.html
"
,
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
],
pageId
:
"
customerGroupEdit
"
,
area
:
[
'
60vw
'
,
'
60vh
'
],
callBack
:
function
(
refreshCode
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
// 删除
function
del
(
data
,
obj
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
customergroup005
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
// 上线
function
up
(
data
,
obj
){
layer
.
confirm
(
'
确认将选中数据上线吗?
'
,
{
icon
:
3
,
title
:
'
上线操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
customergroup006
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
上线成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
// 下线
function
down
(
data
,
obj
){
layer
.
confirm
(
'
确认将选中数据下线吗?
'
,
{
icon
:
3
,
title
:
'
下线操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
customergroup007
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
下线成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
function
getTableParams
(){
return
{
groupName
:
$
(
"
#groupName
"
).
val
(),
state
:
$
(
"
#state
"
).
val
()
};
}
exports
(
'
customerGroupList
'
,
{});
});
\ No newline at end of file
crm/src/main/resources/template/js/customermanage/customeradd.js
浏览文件 @
94b9d27a
...
@@ -13,7 +13,6 @@ layui.config({
...
@@ -13,7 +13,6 @@ layui.config({
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
var
$
=
layui
.
$
,
textool
=
layui
.
textool
;
textool
=
layui
.
textool
;
var
selectMust
=
getFileContent
(
'
tpl/template/select-option-must.tpl
'
);
// 客户分类
// 客户分类
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
crmCustomerType
"
][
"
key
"
],
'
select
'
,
"
typeId
"
,
''
,
form
);
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
crmCustomerType
"
][
"
key
"
],
'
select
'
,
"
typeId
"
,
''
,
form
);
...
@@ -24,23 +23,9 @@ layui.config({
...
@@ -24,23 +23,9 @@ layui.config({
// 客户所属行业
// 客户所属行业
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
crmCustomerIndustry
"
][
"
key
"
],
'
select
'
,
"
industryId
"
,
''
,
form
);
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
crmCustomerIndustry
"
][
"
key
"
],
'
select
'
,
"
industryId
"
,
''
,
form
);
customerGroup
();
// 客户分组
// 客户分组
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
crmCustomerGroup
"
][
"
key
"
],
'
select
'
,
"
groupId
"
,
''
,
form
);
function
customerGroup
(){
showGrid
({
id
:
"
groupId
"
,
url
:
flowableBasePath
+
"
customergroup008
"
,
params
:
{},
pagination
:
false
,
template
:
selectMust
,
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
json
)
{
form
.
render
(
'
select
'
);
}
});
}
textool
.
init
({
eleId
:
'
addDesc
'
,
maxlength
:
200
});
textool
.
init
({
eleId
:
'
addDesc
'
,
maxlength
:
200
});
skyeyeEnclosure
.
init
(
'
enclosureUpload
'
);
skyeyeEnclosure
.
init
(
'
enclosureUpload
'
);
...
...
crm/src/main/resources/template/js/customermanage/customeredit.js
浏览文件 @
94b9d27a
...
@@ -32,27 +32,11 @@ layui.config({
...
@@ -32,27 +32,11 @@ layui.config({
// 客户所属行业
// 客户所属行业
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
crmCustomerIndustry
"
][
"
key
"
],
'
select
'
,
"
industryId
"
,
json
.
bean
.
industryId
,
form
);
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
crmCustomerIndustry
"
][
"
key
"
],
'
select
'
,
"
industryId
"
,
json
.
bean
.
industryId
,
form
);
customerGroup
();
// 客户分组
// 客户分组
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
crmCustomerGroup
"
][
"
key
"
],
'
select
'
,
"
groupId
"
,
json
.
bean
.
groupId
,
form
);
function
customerGroup
(){
showGrid
({
id
:
"
groupId
"
,
url
:
flowableBasePath
+
"
customergroup008
"
,
params
:
{},
pagination
:
false
,
template
:
selectMust
,
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
data
){
$
(
"
#groupId
"
).
val
(
json
.
bean
.
groupId
);
form
.
render
(
'
select
'
);
}
});
}
textool
.
init
({
eleId
:
'
addDesc
'
,
maxlength
:
200
});
textool
.
init
({
eleId
:
'
addDesc
'
,
maxlength
:
200
});
var
userNames
=
[];
userList
=
[].
concat
(
json
.
bean
.
chargeUser
);
userList
=
[].
concat
(
json
.
bean
.
chargeUser
);
$
.
each
(
json
.
bean
.
chargeUser
,
function
(
i
,
item
){
$
.
each
(
json
.
bean
.
chargeUser
,
function
(
i
,
item
){
$
(
"
#relationUserId
"
).
val
(
item
.
name
);
$
(
"
#relationUserId
"
).
val
(
item
.
name
);
...
...
crm/src/main/resources/template/tpl/customerGroup/customerGroupAdd.html
已删除
100644 → 0
浏览文件 @
688c185b
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"padding:20px; margin:0 auto;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
分组名称
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"groupName"
name=
"groupName"
win-verify=
"required"
placeholder=
"请输入分组名称"
class=
"layui-input"
maxlength=
"10"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
附加说明
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"desc"
name=
"desc"
placeholder=
"请输入附加说明"
class=
"layui-textarea"
style=
"height: 100px;"
maxlength=
"200"
></textarea>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<div
class=
"layui-input-block"
>
<button
class=
"winui-btn"
id=
"cancle"
><language
showName=
"com.skyeye.cancel"
></language></button>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formAddBean"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
</form>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/customerGroup/
'
}).
use
(
'
customerGroupAdd
'
);
</script>
</body>
</html>
\ No newline at end of file
crm/src/main/resources/template/tpl/customerGroup/customerGroupEdit.html
已删除
100644 → 0
浏览文件 @
688c185b
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"padding:20px; margin:0 auto;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
>
</form>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/customerGroup/
'
}).
use
(
'
customerGroupEdit
'
);
</script>
</body>
</html>
\ No newline at end of file
crm/src/main/resources/template/tpl/customerGroup/customerGroupEditTemplate.tpl
已删除
100644 → 0
浏览文件 @
688c185b
{{
#
bean
}}
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
分组名称
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"groupName"
name=
"groupName"
win-verify=
"required"
placeholder=
"请输入分组名称"
class=
"layui-input"
maxlength=
"10"
value=
"{
{
groupName
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
附加说明
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"desc"
name=
"desc"
placeholder=
"请输入附加说明"
class=
"layui-textarea"
style=
"height: 100px;"
maxlength=
"200"
>
{
{
desc
}
}
</textarea>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<div
class=
"layui-input-block"
>
<button
class=
"winui-btn"
id=
"cancle"
><language
showName=
"com.skyeye.cancel"
></language></button>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formEditBean"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
{
{/
bean
}
}
\ No newline at end of file
crm/src/main/resources/template/tpl/customerGroup/customerGroupList.html
已删除
100644 → 0
浏览文件 @
688c185b
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
class=
"txtcenter"
style=
"margin:0 auto;padding-top:10px;"
>
<form
class=
"layui-form layui-form-pane"
action=
""
autocomplete=
"off"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
名称
</label>
<div
class=
"layui-input-inline"
>
<input
type=
"text"
id=
"groupName"
name=
"groupName"
placeholder=
"请输入名称"
class=
"layui-input"
/>
</div>
<label
class=
"layui-form-label"
>
状态
</label>
<div
class=
"layui-input-inline"
>
<select
id=
"state"
name=
"state"
>
<option
value=
""
>
全部
</option>
<option
value=
"1"
>
新建
</option>
<option
value=
"2"
>
上线
</option>
<option
value=
"3"
>
下线
</option>
</select>
</div>
<button
type=
"reset"
class=
"layui-btn layui-btn-primary list-form-search"
><language
showName=
"com.skyeye.reset"
></language></button>
<button
class=
"layui-btn list-form-search"
lay-submit
lay-filter=
"formSearch"
><language
showName=
"com.skyeye.search2"
></language></button>
</div>
</div>
</form>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
id=
"addBean"
class=
"winui-toolbtn"
auth=
"1596549632072"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.addBtn"
></language></button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
d
.
state
==
1
||
d
.
state
==
3
){
}}
{{
#
if
(
auth
(
'
1596549640086
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1596549648401
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
delete
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
auth
(
'
1596549655605
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
up
"
>
上线
<
/a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
d
.
state
==
2
){
}}
{{
#
if
(
auth
(
'
1596549664249
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
down
"
>
下线
<
/a
>
{{
#
}
}}
{{
#
}
}}
</script>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/customerGroup/
'
}).
use
(
'
customerGroupList
'
);
</script>
</body>
</html>
\ No newline at end of file
web/src/main/resources/template/json/sysDictData.json
浏览文件 @
94b9d27a
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
"crmCustomerType"
:
{
"name"
:
"CRM-客户分类"
,
"key"
:
"CRM_CUSTOMER_TYPE"
},
"crmCustomerType"
:
{
"name"
:
"CRM-客户分类"
,
"key"
:
"CRM_CUSTOMER_TYPE"
},
"crmCustomerFrom"
:
{
"name"
:
"CRM-客户来源"
,
"key"
:
"CRM_CUSTOMER_FROM"
},
"crmCustomerFrom"
:
{
"name"
:
"CRM-客户来源"
,
"key"
:
"CRM_CUSTOMER_FROM"
},
"crmCustomerGroup"
:
{
"name"
:
"CRM-客户分组"
,
"key"
:
"CRM_CUSTOMER_GROUP"
},
"crmCustomerIndustry"
:
{
"name"
:
"CRM-客户所属行业"
,
"key"
:
"CRM_CUSTOMER_INDUSTRY"
},
"crmCustomerIndustry"
:
{
"name"
:
"CRM-客户所属行业"
,
"key"
:
"CRM_CUSTOMER_INDUSTRY"
},
"crmDocumentaryType"
:
{
"name"
:
"CRM-跟单分类"
,
"key"
:
"CRM_DOCUMENTARY_TYPE"
},
"crmDocumentaryType"
:
{
"name"
:
"CRM-跟单分类"
,
"key"
:
"CRM_DOCUMENTARY_TYPE"
},
"crmOpportunityFrom"
:
{
"name"
:
"CRM-商机来源"
,
"key"
:
"CRM_OPPORTUNITY_FROM"
}
"crmOpportunityFrom"
:
{
"name"
:
"CRM-商机来源"
,
"key"
:
"CRM_OPPORTUNITY_FROM"
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录