Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
d7239a17
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1432
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看板
提交
d7239a17
编写于
7月 10, 2022
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
【AMS】删除售后服务类型
上级
4c58a04a
变更
20
隐藏空白更改
内联
并排
Showing
20 changed file
with
109 addition
and
634 deletion
+109
-634
seal-service/src/main/resources/template/js/sealseservice/sealseserviceadd.js
...n/resources/template/js/sealseservice/sealseserviceadd.js
+4
-18
seal-service/src/main/resources/template/js/sealseservice/sealseserviceedit.js
.../resources/template/js/sealseservice/sealseserviceedit.js
+4
-14
seal-service/src/main/resources/template/js/sealseservicetype/sealseservicetypeadd.js
...ces/template/js/sealseservicetype/sealseservicetypeadd.js
+0
-32
seal-service/src/main/resources/template/js/sealseservicetype/sealseservicetypeedit.js
...es/template/js/sealseservicetype/sealseservicetypeedit.js
+0
-44
seal-service/src/main/resources/template/js/sealseservicetype/sealseservicetypelist.js
...es/template/js/sealseservicetype/sealseservicetypelist.js
+0
-144
seal-service/src/main/resources/template/js/stateisstayevaluate/stateisstayevaluatelist.js
...emplate/js/stateisstayevaluate/stateisstayevaluatelist.js
+8
-23
seal-service/src/main/resources/template/js/stateisstayevaluateall/stateisstayevaluatealllist.js
...e/js/stateisstayevaluateall/stateisstayevaluatealllist.js
+9
-23
seal-service/src/main/resources/template/js/stateisstayexamine/stateisstayexaminelist.js
.../template/js/stateisstayexamine/stateisstayexaminelist.js
+6
-17
seal-service/src/main/resources/template/js/stateisstayfinishedpro/stateisstayfinishedprolist.js
...e/js/stateisstayfinishedpro/stateisstayfinishedprolist.js
+10
-26
seal-service/src/main/resources/template/js/stateisstaymycreate/stateisstaymycreatelist.js
...emplate/js/stateisstaymycreate/stateisstaymycreatelist.js
+6
-18
seal-service/src/main/resources/template/js/stateisstayreceipt/stateisstayreceiptlist.js
.../template/js/stateisstayreceipt/stateisstayreceiptlist.js
+29
-44
seal-service/src/main/resources/template/js/stateisstaysignin/stateisstaysigninlist.js
...es/template/js/stateisstaysignin/stateisstaysigninlist.js
+10
-26
seal-service/src/main/resources/template/js/stateisstaysuccess/stateisstaysuccesslist.js
.../template/js/stateisstaysuccess/stateisstaysuccesslist.js
+9
-24
seal-service/src/main/resources/template/js/stateisstayworker/stateisstayworkerlist.js
...es/template/js/stateisstayworker/stateisstayworkerlist.js
+6
-17
seal-service/src/main/resources/template/js/statisforms/customorder.js
...src/main/resources/template/js/statisforms/customorder.js
+6
-26
seal-service/src/main/resources/template/tpl/sealseservicetype/sealseservicetypeadd.html
.../template/tpl/sealseservicetype/sealseservicetypeadd.html
+0
-32
seal-service/src/main/resources/template/tpl/sealseservicetype/sealseservicetypeedit.html
...template/tpl/sealseservicetype/sealseservicetypeedit.html
+0
-21
seal-service/src/main/resources/template/tpl/sealseservicetype/sealseservicetypeeditTemplate.tpl
...e/tpl/sealseservicetype/sealseservicetypeeditTemplate.tpl
+0
-14
seal-service/src/main/resources/template/tpl/sealseservicetype/sealseservicetypelist.html
...template/tpl/sealseservicetype/sealseservicetypelist.html
+0
-70
web/src/main/resources/template/json/sysDictData.json
web/src/main/resources/template/json/sysDictData.json
+2
-1
未找到文件。
seal-service/src/main/resources/template/js/sealseservice/sealseserviceadd.js
浏览文件 @
d7239a17
...
...
@@ -32,24 +32,10 @@ layui.config({
// 初始化上传
$
(
"
#sheetPicture
"
).
upload
(
systemCommonUtil
.
uploadCommon003Config
(
'
sheetPicture
'
,
14
,
''
,
10
));
typeId
();
// 服务类型
function
typeId
(){
showGrid
({
id
:
"
typeId
"
,
url
:
flowableBasePath
+
"
sealseservicetype008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
json
)
{
urgencyId
();
}
});
}
// 售后服务类型
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
amsServiceType
"
][
"
key
"
],
'
select
'
,
"
typeId
"
,
''
,
form
);
urgencyId
();
//紧急程度
function
urgencyId
(){
showGrid
({
...
...
seal-service/src/main/resources/template/js/sealseservice/sealseserviceedit.js
浏览文件 @
d7239a17
...
...
@@ -140,21 +140,11 @@ layui.config({
}
});
//服务类型
//
服务类型
function
typeId
(
json
){
showGrid
({
id
:
"
typeId
"
,
url
:
flowableBasePath
+
"
sealseservicetype008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
d
)
{
$
(
"
#typeId
"
).
val
(
json
.
bean
.
typeId
);
urgencyId
(
json
);
}
});
// 售后服务类型
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
amsServiceType
"
][
"
key
"
],
'
select
'
,
"
typeId
"
,
json
.
bean
.
typeId
,
form
);
urgencyId
(
json
);
}
//紧急程度
...
...
seal-service/src/main/resources/template/js/sealseservicetype/sealseservicetypeadd.js
已删除
100644 → 0
浏览文件 @
4c58a04a
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
;
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
typeName
:
$
(
"
#typeName
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
sealseservicetype002
"
,
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
seal-service/src/main/resources/template/js/sealseservicetype/sealseservicetypeedit.js
已删除
100644 → 0
浏览文件 @
4c58a04a
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
;
showGrid
({
id
:
"
showForm
"
,
url
:
flowableBasePath
+
"
sealseservicetype003
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/sealseservicetype/sealseservicetypeeditTemplate.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
json
)
{
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
rowId
:
parent
.
rowId
,
typeName
:
$
(
"
#typeName
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
sealseservicetype004
"
,
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
seal-service/src/main/resources/template/js/sealseservicetype/sealseservicetypelist.js
已删除
100644 → 0
浏览文件 @
4c58a04a
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
(
'
1570357380086
'
);
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
flowableBasePath
+
'
sealseservicetype001
'
,
where
:
{
typeName
:
$
(
"
#typeName
"
).
val
(),
state
:
$
(
"
#state
"
).
val
()},
even
:
true
,
page
:
true
,
limits
:
[
8
,
16
,
24
,
32
,
40
,
48
,
56
],
limit
:
8
,
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
typeName
'
,
title
:
'
类型名称
'
,
align
:
'
center
'
,
width
:
120
},
{
field
:
'
state
'
,
title
:
'
状态
'
,
width
:
100
,
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
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
'
center
'
,
width
:
200
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
250
,
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
();
$
(
"
body
"
).
on
(
"
click
"
,
"
#formSearch
"
,
function
()
{
refreshTable
();
});
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
function
loadTable
(){
table
.
reload
(
"
messageTable
"
,
{
where
:
{
typeName
:
$
(
"
#typeName
"
).
val
(),
state
:
$
(
"
#state
"
).
val
()}});
}
function
refreshTable
(){
table
.
reload
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
{
typeName
:
$
(
"
#typeName
"
).
val
(),
state
:
$
(
"
#state
"
).
val
()}});
}
//新增
$
(
"
body
"
).
on
(
"
click
"
,
"
#addBean
"
,
function
()
{
_openNewWindows
({
url
:
"
../../tpl/sealseservicetype/sealseservicetypeadd.html
"
,
title
:
systemLanguage
[
"
com.skyeye.addPageTitle
"
][
languageType
],
pageId
:
"
sealseservicetypeadd
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
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/sealseservicetype/sealseservicetypeedit.html
"
,
title
:
systemLanguage
[
"
com.skyeye.editPageTitle
"
][
languageType
],
pageId
:
"
sealseservicetypeedit
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
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
+
"
sealseservicetype005
"
,
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
){
var
msg
=
obj
?
'
确认将【
'
+
obj
.
data
.
typeName
+
'
】上线吗?
'
:
'
确认将选中数据上线吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
上线操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
sealseservicetype006
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
上线成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
//下线
function
down
(
data
,
obj
){
var
msg
=
obj
?
'
确认将【
'
+
obj
.
data
.
typeName
+
'
】下线吗?
'
:
'
确认将选中数据下线吗?
'
;
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
下线操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
sealseservicetype007
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
"
下线成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
});
}
exports
(
'
sealseservicetypelist
'
,
{});
});
\ No newline at end of file
seal-service/src/main/resources/template/js/stateisstayevaluate/stateisstayevaluatelist.js
浏览文件 @
d7239a17
...
...
@@ -10,33 +10,18 @@ layui.config({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
laydate
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
,
table
=
layui
.
table
;
//分类
showGrid
({
id
:
"
typeId
"
,
url
:
flowableBasePath
+
"
sealseservicetype008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
j
){
form
.
render
(
'
select
'
);
initTable
();
}
});
//跟单时间
laydate
.
render
({
elem
:
'
#declarationTime
'
,
range
:
'
~
'
});
// 售后服务类型
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
amsServiceType
"
][
"
key
"
],
'
select
'
,
"
typeId
"
,
''
,
form
);
// 跟单时间
laydate
.
render
({
elem
:
'
#declarationTime
'
,
range
:
'
~
'
});
initTable
();
//待评价表格渲染
function
initTable
(){
table
.
render
({
...
...
seal-service/src/main/resources/template/js/stateisstayevaluateall/stateisstayevaluatealllist.js
浏览文件 @
d7239a17
...
...
@@ -15,29 +15,15 @@ layui.config({
form
=
layui
.
form
,
laydate
=
layui
.
laydate
,
table
=
layui
.
table
;
//分类
showGrid
({
id
:
"
typeId
"
,
url
:
flowableBasePath
+
"
sealseservicetype008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
j
){
form
.
render
(
'
select
'
);
initTable
();
}
});
//跟单时间
laydate
.
render
({
elem
:
'
#declarationTime
'
,
range
:
'
~
'
});
//所有待评价表格渲染
// 售后服务类型
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
amsServiceType
"
][
"
key
"
],
'
select
'
,
"
typeId
"
,
''
,
form
);
// 跟单时间
laydate
.
render
({
elem
:
'
#declarationTime
'
,
range
:
'
~
'
});
initTable
();
// 所有待评价表格渲染
function
initTable
(){
table
.
render
({
id
:
'
messageTable
'
,
...
...
seal-service/src/main/resources/template/js/stateisstayexamine/stateisstayexaminelist.js
浏览文件 @
d7239a17
...
...
@@ -14,25 +14,14 @@ layui.config({
form
=
layui
.
form
,
laydate
=
layui
.
laydate
,
table
=
layui
.
table
;
//分类
showGrid
({
id
:
"
typeId
"
,
url
:
flowableBasePath
+
"
sealseservicetype008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
j
){
form
.
render
(
'
select
'
);
initTable
();
}
});
// 售后服务类型
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
amsServiceType
"
][
"
key
"
],
'
select
'
,
"
typeId
"
,
''
,
form
);
// 跟单时间
laydate
.
render
({
elem
:
'
#declarationTime
'
,
range
:
'
~
'
});
initTable
();
// 待审核表格渲染
function
initTable
(){
table
.
render
({
...
...
seal-service/src/main/resources/template/js/stateisstayfinishedpro/stateisstayfinishedprolist.js
浏览文件 @
d7239a17
...
...
@@ -10,34 +10,19 @@ layui.config({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
laydate
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
,
table
=
layui
.
table
;
//分类
showGrid
({
id
:
"
typeId
"
,
url
:
flowableBasePath
+
"
sealseservicetype008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
j
){
form
.
render
(
'
select
'
);
initTable
();
}
});
//跟单时间
laydate
.
render
({
elem
:
'
#declarationTime
'
,
range
:
'
~
'
});
//待完工表格渲染
// 售后服务类型
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
amsServiceType
"
][
"
key
"
],
'
select
'
,
"
typeId
"
,
''
,
form
);
// 跟单时间
laydate
.
render
({
elem
:
'
#declarationTime
'
,
range
:
'
~
'
});
initTable
();
// 待完工表格渲染
function
initTable
(){
table
.
render
({
id
:
'
messageTable
'
,
...
...
@@ -79,8 +64,7 @@ layui.config({
}
form
.
render
();
$
(
"
body
"
).
on
(
"
click
"
,
"
#formSearch
"
,
function
()
{
refreshTable
();
});
...
...
seal-service/src/main/resources/template/js/stateisstaymycreate/stateisstaymycreatelist.js
浏览文件 @
d7239a17
...
...
@@ -14,25 +14,14 @@ layui.config({
form
=
layui
.
form
,
laydate
=
layui
.
laydate
,
table
=
layui
.
table
;
//分类
showGrid
({
id
:
"
typeId
"
,
url
:
flowableBasePath
+
"
sealseservicetype008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
j
){
form
.
render
(
'
select
'
);
initTable
();
}
});
// 售后服务类型
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
amsServiceType
"
][
"
key
"
],
'
select
'
,
"
typeId
"
,
''
,
form
);
// 跟单时间
laydate
.
render
({
elem
:
'
#declarationTime
'
,
range
:
'
~
'
});
initTable
();
// 获取当前登录人填报的工单列表
function
initTable
(){
table
.
render
({
...
...
@@ -77,7 +66,6 @@ layui.config({
form
.
render
();
$
(
"
body
"
).
on
(
"
click
"
,
"
#formSearch
"
,
function
()
{
refreshTable
();
});
...
...
seal-service/src/main/resources/template/js/stateisstayreceipt/stateisstayreceiptlist.js
浏览文件 @
d7239a17
var
rowId
=
""
;
var
startTime
=
""
;
var
endTime
=
""
;
layui
.
config
({
base
:
basePath
,
...
...
@@ -10,33 +8,18 @@ layui.config({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
laydate
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
,
table
=
layui
.
table
;
//分类
showGrid
({
id
:
"
typeId
"
,
url
:
flowableBasePath
+
"
sealseservicetype008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
j
){
form
.
render
(
'
select
'
);
initTable
();
}
});
//跟单时间
laydate
.
render
({
elem
:
'
#declarationTime
'
,
range
:
'
~
'
});
// 售后服务类型
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
amsServiceType
"
][
"
key
"
],
'
select
'
,
"
typeId
"
,
''
,
form
);
// 跟单时间
laydate
.
render
({
elem
:
'
#declarationTime
'
,
range
:
'
~
'
});
initTable
();
//待接单表格渲染
function
initTable
(){
table
.
render
({
...
...
@@ -44,7 +27,7 @@ layui.config({
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
flowableBasePath
+
'
sealseservice003
'
,
where
:
{
orderNum
:
$
(
"
#orderNum
"
).
val
(),
typeId
:
$
(
"
#typeId
"
).
val
(),
customerName
:
$
(
"
#customerName
"
).
val
(),
firstTime
:
''
,
lastTime
:
''
}
,
where
:
getTableParams
()
,
even
:
true
,
page
:
true
,
limits
:
[
8
,
16
,
24
,
32
,
40
,
48
,
56
],
...
...
@@ -87,28 +70,14 @@ layui.config({
});
function
loadTable
(){
if
(
isNull
(
$
(
"
#declarationTime
"
).
val
())){
startTime
=
""
;
endTime
=
""
;
}
else
{
startTime
=
$
(
"
#declarationTime
"
).
val
().
split
(
'
~
'
)[
0
].
trim
();
endTime
=
$
(
"
#declarationTime
"
).
val
().
split
(
'
~
'
)[
1
].
trim
();
}
table
.
reload
(
"
messageTable
"
,
{
where
:
{
orderNum
:
$
(
"
#orderNum
"
).
val
(),
typeId
:
$
(
"
#typeId
"
).
val
(),
customerName
:
$
(
"
#customerName
"
).
val
(),
firstTime
:
startTime
,
lastTime
:
endTime
}});
table
.
reload
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
refreshTable
(){
if
(
isNull
(
$
(
"
#declarationTime
"
).
val
())){
startTime
=
""
;
endTime
=
""
;
}
else
{
startTime
=
$
(
"
#declarationTime
"
).
val
().
split
(
'
~
'
)[
0
].
trim
();
endTime
=
$
(
"
#declarationTime
"
).
val
().
split
(
'
~
'
)[
1
].
trim
();
}
table
.
reload
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
{
orderNum
:
$
(
"
#orderNum
"
).
val
(),
typeId
:
$
(
"
#typeId
"
).
val
(),
customerName
:
$
(
"
#customerName
"
).
val
(),
firstTime
:
startTime
,
lastTime
:
endTime
}});
table
.
reload
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
}
//接单
//
接单
function
stayReceipt
(
data
){
rowId
=
data
.
id
;
_openNewWindows
({
...
...
@@ -122,7 +91,7 @@ layui.config({
}});
}
//详情
//
详情
function
details
(
data
){
rowId
=
data
.
id
;
_openNewWindows
({
...
...
@@ -133,6 +102,22 @@ layui.config({
callBack
:
function
(
refreshCode
){
}});
}
function
getTableParams
()
{
var
startTime
=
""
;
var
endTime
=
""
;
if
(
!
isNull
(
$
(
"
#declarationTime
"
).
val
()))
{
startTime
=
$
(
"
#declarationTime
"
).
val
().
split
(
'
~
'
)[
0
].
trim
();
endTime
=
$
(
"
#declarationTime
"
).
val
().
split
(
'
~
'
)[
1
].
trim
();
}
return
{
orderNum
:
$
(
"
#orderNum
"
).
val
(),
typeId
:
$
(
"
#typeId
"
).
val
(),
customerName
:
$
(
"
#customerName
"
).
val
(),
firstTime
:
startTime
,
lastTime
:
endTime
};
}
exports
(
'
stateisstayreceiptlist
'
,
{});
});
\ No newline at end of file
seal-service/src/main/resources/template/js/stateisstaysignin/stateisstaysigninlist.js
浏览文件 @
d7239a17
...
...
@@ -10,34 +10,19 @@ layui.config({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
laydate
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
,
table
=
layui
.
table
;
//分类
showGrid
({
id
:
"
typeId
"
,
url
:
flowableBasePath
+
"
sealseservicetype008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
j
){
form
.
render
(
'
select
'
);
initTable
();
}
});
//跟单时间
laydate
.
render
({
elem
:
'
#declarationTime
'
,
range
:
'
~
'
});
//待签到表格渲染
// 售后服务类型
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
amsServiceType
"
][
"
key
"
],
'
select
'
,
"
typeId
"
,
''
,
form
);
// 跟单时间
laydate
.
render
({
elem
:
'
#declarationTime
'
,
range
:
'
~
'
});
initTable
();
// 待签到表格渲染
function
initTable
(){
table
.
render
({
id
:
'
messageTable
'
,
...
...
@@ -78,8 +63,7 @@ layui.config({
}
form
.
render
();
$
(
"
body
"
).
on
(
"
click
"
,
"
#formSearch
"
,
function
()
{
refreshTable
();
});
...
...
seal-service/src/main/resources/template/js/stateisstaysuccess/stateisstaysuccesslist.js
浏览文件 @
d7239a17
...
...
@@ -10,34 +10,19 @@ layui.config({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
laydate
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
laydate
=
layui
.
laydate
,
table
=
layui
.
table
;
//分类
showGrid
({
id
:
"
typeId
"
,
url
:
flowableBasePath
+
"
sealseservicetype008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
j
){
form
.
render
(
'
select
'
);
initTable
();
}
});
//跟单时间
laydate
.
render
({
elem
:
'
#declarationTime
'
,
range
:
'
~
'
});
//已完成工单表格渲染
// 售后服务类型
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
amsServiceType
"
][
"
key
"
],
'
select
'
,
"
typeId
"
,
''
,
form
);
// 跟单时间
laydate
.
render
({
elem
:
'
#declarationTime
'
,
range
:
'
~
'
});
initTable
();
// 已完成工单表格渲染
function
initTable
(){
table
.
render
({
id
:
'
messageTable
'
,
...
...
seal-service/src/main/resources/template/js/stateisstayworker/stateisstayworkerlist.js
浏览文件 @
d7239a17
...
...
@@ -14,25 +14,14 @@ layui.config({
form
=
layui
.
form
,
laydate
=
layui
.
laydate
,
table
=
layui
.
table
;
//分类
showGrid
({
id
:
"
typeId
"
,
url
:
flowableBasePath
+
"
sealseservicetype008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
j
){
form
.
render
(
'
select
'
);
initTable
();
}
});
// 售后服务类型
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
amsServiceType
"
][
"
key
"
],
'
select
'
,
"
typeId
"
,
''
,
form
);
// 跟单时间
laydate
.
render
({
elem
:
'
#declarationTime
'
,
range
:
'
~
'
});
initTable
();
// 待派工表格渲染
function
initTable
(){
table
.
render
({
...
...
seal-service/src/main/resources/template/js/statisforms/customorder.js
浏览文件 @
d7239a17
...
...
@@ -11,7 +11,6 @@ layui.config({
echartsTheme
:
'
../echarts/echartsTheme
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
,
'
laydate
'
,
'
echarts
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
,
...
...
@@ -27,32 +26,13 @@ layui.config({
var
nowYear
=
now
.
getYear
();
//当前年
nowYear
+=
(
nowYear
<
2000
)
?
1900
:
0
;
//
var
lastMonthDate
=
new
Date
();
//上月日期
lastMonthDate
.
setDate
(
1
);
lastMonthDate
.
setMonth
(
lastMonthDate
.
getMonth
()
-
1
);
var
lastYear
=
lastMonthDate
.
getYear
();
var
lastMonth
=
lastMonthDate
.
getMonth
();
laydate
.
render
({
elem
:
'
#timeRange
'
,
range
:
'
~
'
});
showGrid
({
id
:
"
serviceType
"
,
url
:
flowableBasePath
+
"
sealseservicetype008
"
,
params
:
{},
pagination
:
false
,
template
:
getFileContent
(
'
tpl/template/select-option.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
){
},
ajaxSendAfter
:
function
(
json
)
{
initTable
();
}
});
laydate
.
render
({
elem
:
'
#timeRange
'
,
range
:
'
~
'
});
// 售后服务类型
sysDictDataUtil
.
showDictDataListByDictTypeCode
(
sysDictData
[
"
amsServiceType
"
][
"
key
"
],
'
select
'
,
"
serviceType
"
,
''
,
form
);
initTable
();
function
initTable
(){
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
...
...
seal-service/src/main/resources/template/tpl/sealseservicetype/sealseservicetypeadd.html
已删除
100644 → 0
浏览文件 @
4c58a04a
<!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=
"typeName"
name=
"typeName"
win-verify=
"required"
placeholder=
"请输入类型名称"
class=
"layui-input"
maxlength=
"10"
/>
</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/sealseservicetype/
'
}).
use
(
'
sealseservicetypeadd
'
);
</script>
</body>
</html>
\ No newline at end of file
seal-service/src/main/resources/template/tpl/sealseservicetype/sealseservicetypeedit.html
已删除
100644 → 0
浏览文件 @
4c58a04a
<!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/sealseservicetype/
'
}).
use
(
'
sealseservicetypeedit
'
);
</script>
</body>
</html>
\ No newline at end of file
seal-service/src/main/resources/template/tpl/sealseservicetype/sealseservicetypeeditTemplate.tpl
已删除
100644 → 0
浏览文件 @
4c58a04a
{{
#
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=
"typeName"
name=
"typeName"
win-verify=
"required"
placeholder=
"请输入类型名称"
class=
"layui-input"
maxlength=
"10"
value=
"{
{
typeName
}
}"
/>
</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
seal-service/src/main/resources/template/tpl/sealseservicetype/sealseservicetypelist.html
已删除
100644 → 0
浏览文件 @
4c58a04a
<!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=
"typeName"
name=
"typeName"
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"
type=
"button"
id=
"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=
"1570357380086"
><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
(
'
1570357388779
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
((
d
.
state
==
1
||
d
.
state
==
3
)
&&
(
d
.
useNum
==
0
)){
}}
{{
#
if
(
auth
(
'
1570357396660
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
delete
"
><
language
showName
=
"
com.skyeye.deleteBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
d
.
state
==
1
||
d
.
state
==
3
){
}}
{{
#
if
(
auth
(
'
1570357404408
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
up
"
>
上线
<
/a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
d
.
state
==
2
){
}}
{{
#
if
(
auth
(
'
1570357412514
'
)){
}}
<
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/sealseservicetype/
'
}).
use
(
'
sealseservicetypelist
'
);
</script>
</body>
</html>
\ No newline at end of file
web/src/main/resources/template/json/sysDictData.json
浏览文件 @
d7239a17
...
...
@@ -18,6 +18,7 @@
"crmDocumentaryType"
:
{
"name"
:
"CRM-跟单分类"
,
"key"
:
"CRM_DOCUMENTARY_TYPE"
},
"crmOpportunityFrom"
:
{
"name"
:
"CRM-商机来源"
,
"key"
:
"CRM_OPPORTUNITY_FROM"
},
"amsServiceMode"
:
{
"name"
:
"AMS-售后服务方式"
,
"key"
:
"AMS_SERVICE_MODE"
}
"amsServiceMode"
:
{
"name"
:
"AMS-售后服务方式"
,
"key"
:
"AMS_SERVICE_MODE"
},
"amsServiceType"
:
{
"name"
:
"AMS-售后服务类型"
,
"key"
:
"AMS_SERVICE_TYPE"
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录