Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
5299682a
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1171
Star
154
Fork
127
代码
文件
提交
分支
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看板
提交
5299682a
编写于
4月 17, 2022
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
获取已上线的客户来源类型代码优化
上级
5e5df8b0
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
69 addition
and
127 deletion
+69
-127
crm/src/main/resources/template/js/customermanage/customerChoose.js
...in/resources/template/js/customermanage/customerChoose.js
+7
-18
crm/src/main/resources/template/js/customermanage/customerInternationalList.js
...s/template/js/customermanage/customerInternationalList.js
+7
-18
crm/src/main/resources/template/js/customermanage/customeradd.js
.../main/resources/template/js/customermanage/customeradd.js
+7
-18
crm/src/main/resources/template/js/customermanage/customeredit.js
...main/resources/template/js/customermanage/customeredit.js
+10
-19
crm/src/main/resources/template/js/customermanage/customerlist.js
...main/resources/template/js/customermanage/customerlist.js
+7
-18
crm/src/main/resources/template/js/customermanage/myConscientiousList.js
...sources/template/js/customermanage/myConscientiousList.js
+7
-18
crm/src/main/resources/template/js/customermanage/myCreateList.js
...main/resources/template/js/customermanage/myCreateList.js
+7
-18
web/src/main/resources/template/assets/lib/layui/customer/sysCustomerUtil.js
...ces/template/assets/lib/layui/customer/sysCustomerUtil.js
+17
-0
未找到文件。
crm/src/main/resources/template/js/customermanage/customerChoose.js
浏览文件 @
5299682a
...
...
@@ -18,26 +18,15 @@ layui.config({
sysCustomerUtil
.
queryCustomerTypeIsUpList
(
function
(
data
){
$
(
"
#typeId
"
).
html
(
getDataUseHandlebars
(
selOption
,
data
));
form
.
render
(
'
select
'
);
customerFrom
();
});
// 来源
function
customerFrom
(){
showGrid
({
id
:
"
fromId
"
,
url
:
flowableBasePath
+
"
crmcustomerfrom008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
j
){
form
.
render
(
'
select
'
);
customerIndustry
();
}
});
}
// 获取已上线的客户来源类型
sysCustomerUtil
.
queryCustomerFromIsUpList
(
function
(
data
){
$
(
"
#fromId
"
).
html
(
getDataUseHandlebars
(
selOption
,
data
));
form
.
render
(
'
select
'
);
customerIndustry
();
});
//行业
function
customerIndustry
(){
showGrid
({
...
...
crm/src/main/resources/template/js/customermanage/customerInternationalList.js
浏览文件 @
5299682a
...
...
@@ -16,26 +16,15 @@ layui.config({
sysCustomerUtil
.
queryCustomerTypeIsUpList
(
function
(
data
){
$
(
"
#typeId
"
).
html
(
getDataUseHandlebars
(
selectOption
,
data
));
form
.
render
(
'
select
'
);
customerFrom
();
});
// 来源
function
customerFrom
(){
showGrid
({
id
:
"
fromId
"
,
url
:
flowableBasePath
+
"
crmcustomerfrom008
"
,
params
:
{},
pagination
:
false
,
template
:
selectOption
,
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
j
){
form
.
render
(
'
select
'
);
customerIndustry
();
}
});
}
// 获取已上线的客户来源类型
sysCustomerUtil
.
queryCustomerFromIsUpList
(
function
(
data
){
$
(
"
#fromId
"
).
html
(
getDataUseHandlebars
(
selectOption
,
data
));
form
.
render
(
'
select
'
);
customerIndustry
();
});
// 行业
function
customerIndustry
(){
showGrid
({
...
...
crm/src/main/resources/template/js/customermanage/customeradd.js
浏览文件 @
5299682a
...
...
@@ -23,26 +23,15 @@ layui.config({
sysCustomerUtil
.
queryCustomerTypeIsUpList
(
function
(
data
){
$
(
"
#typeId
"
).
html
(
getDataUseHandlebars
(
selectMust
,
data
));
form
.
render
(
'
select
'
);
customerFrom
();
});
// 来源
function
customerFrom
(){
showGrid
({
id
:
"
fromId
"
,
url
:
flowableBasePath
+
"
crmcustomerfrom008
"
,
params
:
{},
pagination
:
false
,
template
:
selectMust
,
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
json
){
form
.
render
(
'
select
'
);
customerIndustry
();
}
});
}
// 获取已上线的客户来源类型
sysCustomerUtil
.
queryCustomerFromIsUpList
(
function
(
data
){
$
(
"
#fromId
"
).
html
(
getDataUseHandlebars
(
selectMust
,
data
));
form
.
render
(
'
select
'
);
customerIndustry
();
});
// 行业
function
customerIndustry
(){
showGrid
({
...
...
crm/src/main/resources/template/js/customermanage/customeredit.js
浏览文件 @
5299682a
...
...
@@ -32,25 +32,16 @@ layui.config({
$
(
"
#typeId
"
).
html
(
getDataUseHandlebars
(
selectMust
,
data
));
$
(
"
#typeId
"
).
val
(
json
.
bean
.
typeId
);
form
.
render
(
'
select
'
);
customerFrom
();
});
// 来源
function
customerFrom
(){
showGrid
({
id
:
"
fromId
"
,
url
:
flowableBasePath
+
"
crmcustomerfrom008
"
,
params
:
{},
pagination
:
false
,
template
:
selectMust
,
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
j
){
$
(
"
#fromId
"
).
val
(
json
.
bean
.
fromId
);
form
.
render
(
'
select
'
);
customerIndustry
();
}
});
}
// 获取已上线的客户来源类型
sysCustomerUtil
.
queryCustomerFromIsUpList
(
function
(
data
){
$
(
"
#fromId
"
).
html
(
getDataUseHandlebars
(
selectMust
,
data
));
$
(
"
#fromId
"
).
val
(
json
.
bean
.
fromId
);
form
.
render
(
'
select
'
);
customerIndustry
();
});
// 行业
function
customerIndustry
(){
showGrid
({
...
...
@@ -79,7 +70,7 @@ layui.config({
template
:
selectMust
,
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
json
){
ajaxSendAfter
:
function
(
data
){
$
(
"
#groupId
"
).
val
(
json
.
bean
.
groupId
);
form
.
render
(
'
select
'
);
}
...
...
crm/src/main/resources/template/js/customermanage/customerlist.js
浏览文件 @
5299682a
...
...
@@ -19,26 +19,15 @@ layui.config({
sysCustomerUtil
.
queryCustomerTypeIsUpList
(
function
(
data
){
$
(
"
#typeId
"
).
html
(
getDataUseHandlebars
(
selectOption
,
data
));
form
.
render
(
'
select
'
);
customerFrom
();
});
// 来源
function
customerFrom
(){
showGrid
({
id
:
"
fromId
"
,
url
:
flowableBasePath
+
"
crmcustomerfrom008
"
,
params
:
{},
pagination
:
false
,
template
:
selectOption
,
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
j
){
form
.
render
(
'
select
'
);
customerIndustry
();
}
});
}
// 获取已上线的客户来源类型
sysCustomerUtil
.
queryCustomerFromIsUpList
(
function
(
data
){
$
(
"
#fromId
"
).
html
(
getDataUseHandlebars
(
selectOption
,
data
));
form
.
render
(
'
select
'
);
customerIndustry
();
});
// 行业
function
customerIndustry
(){
showGrid
({
...
...
crm/src/main/resources/template/js/customermanage/myConscientiousList.js
浏览文件 @
5299682a
...
...
@@ -17,26 +17,15 @@ layui.config({
sysCustomerUtil
.
queryCustomerTypeIsUpList
(
function
(
data
){
$
(
"
#typeId
"
).
html
(
getDataUseHandlebars
(
selectOption
,
data
));
form
.
render
(
'
select
'
);
customerFrom
();
});
// 来源
function
customerFrom
(){
showGrid
({
id
:
"
fromId
"
,
url
:
flowableBasePath
+
"
crmcustomerfrom008
"
,
params
:
{},
pagination
:
false
,
template
:
selectOption
,
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
j
){
form
.
render
(
'
select
'
);
customerIndustry
();
}
});
}
// 获取已上线的客户来源类型
sysCustomerUtil
.
queryCustomerFromIsUpList
(
function
(
data
){
$
(
"
#fromId
"
).
html
(
getDataUseHandlebars
(
selectOption
,
data
));
form
.
render
(
'
select
'
);
customerIndustry
();
});
// 行业
function
customerIndustry
(){
showGrid
({
...
...
crm/src/main/resources/template/js/customermanage/myCreateList.js
浏览文件 @
5299682a
...
...
@@ -19,26 +19,15 @@ layui.config({
sysCustomerUtil
.
queryCustomerTypeIsUpList
(
function
(
data
){
$
(
"
#typeId
"
).
html
(
getDataUseHandlebars
(
selectOption
,
data
));
form
.
render
(
'
select
'
);
customerFrom
();
});
// 来源
function
customerFrom
(){
showGrid
({
id
:
"
fromId
"
,
url
:
flowableBasePath
+
"
crmcustomerfrom008
"
,
params
:
{},
pagination
:
false
,
template
:
selectOption
,
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
j
){
form
.
render
(
'
select
'
);
customerIndustry
();
}
});
}
// 获取已上线的客户来源类型
sysCustomerUtil
.
queryCustomerFromIsUpList
(
function
(
data
){
$
(
"
#fromId
"
).
html
(
getDataUseHandlebars
(
selectOption
,
data
));
form
.
render
(
'
select
'
);
customerIndustry
();
});
// 行业
function
customerIndustry
(){
showGrid
({
...
...
web/src/main/resources/template/assets/lib/layui/customer/sysCustomerUtil.js
浏览文件 @
5299682a
...
...
@@ -46,4 +46,21 @@ var sysCustomerUtil = {
},
async
:
false
});
},
/**
* 获取已上线的客户来源类型
*
* @param callback 回执函数
*/
queryCustomerFromIsUpList
:
function
(
callback
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
crmcustomerfrom008
"
,
params
:
{},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
typeof
(
callback
)
==
"
function
"
)
{
callback
(
json
);
}
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
},
async
:
false
});
},
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录