Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zhengyuan-danger-chemistry-manage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
zhengyuan-danger-chemistry-manage
Commits
88176c80
Commit
88176c80
authored
Feb 15, 2023
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
变更申请审核 申请时间
parent
c58ca615
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
8 deletions
+42
-8
TChangeApplyApproval.java
...n/java/com/zehong/system/domain/TChangeApplyApproval.java
+20
-0
TChangeApplyApprovalMapper.xml
...in/resources/mapper/system/TChangeApplyApprovalMapper.xml
+1
-1
index.vue
.../src/views/deviceManagement/changeApplyApproval/index.vue
+21
-7
No files found.
danger-manage-system/src/main/java/com/zehong/system/domain/TChangeApplyApproval.java
View file @
88176c80
...
@@ -53,6 +53,10 @@ public class TChangeApplyApproval extends BaseEntity
...
@@ -53,6 +53,10 @@ public class TChangeApplyApproval extends BaseEntity
@Excel
(
name
=
"是否删除(0正常,1删除)"
)
@Excel
(
name
=
"是否删除(0正常,1删除)"
)
private
String
isDel
;
private
String
isDel
;
private
Date
enterTimeBegin
;
private
Date
enterTimeEnd
;
public
void
setChangeApplyId
(
Long
changeApplyId
)
public
void
setChangeApplyId
(
Long
changeApplyId
)
{
{
this
.
changeApplyId
=
changeApplyId
;
this
.
changeApplyId
=
changeApplyId
;
...
@@ -135,6 +139,22 @@ public class TChangeApplyApproval extends BaseEntity
...
@@ -135,6 +139,22 @@ public class TChangeApplyApproval extends BaseEntity
return
isDel
;
return
isDel
;
}
}
public
Date
getEnterTimeBegin
()
{
return
enterTimeBegin
;
}
public
void
setEnterTimeBegin
(
Date
enterTimeBegin
)
{
this
.
enterTimeBegin
=
enterTimeBegin
;
}
public
Date
getEnterTimeEnd
()
{
return
enterTimeEnd
;
}
public
void
setEnterTimeEnd
(
Date
enterTimeEnd
)
{
this
.
enterTimeEnd
=
enterTimeEnd
;
}
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
...
...
danger-manage-system/src/main/resources/mapper/system/TChangeApplyApprovalMapper.xml
View file @
88176c80
...
@@ -28,7 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -28,7 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"changeProjectName != null and changeProjectName != ''"
>
and change_project_name like concat('%', #{changeProjectName}, '%')
</if>
<if
test=
"changeProjectName != null and changeProjectName != ''"
>
and change_project_name like concat('%', #{changeProjectName}, '%')
</if>
<if
test=
"tableData != null and tableData != ''"
>
and table_data = #{tableData}
</if>
<if
test=
"tableData != null and tableData != ''"
>
and table_data = #{tableData}
</if>
<if
test=
"enterPerson != null "
>
and enter_person = #{enterPerson}
</if>
<if
test=
"enterPerson != null "
>
and enter_person = #{enterPerson}
</if>
<if
test=
"enterTime
!= null "
>
and enter_time = #{enterTime
}
</if>
<if
test=
"enterTime
Begin != null and enterTimeEnd != null "
>
and enter_time BETWEEN #{enterTimeBegin} AND #{enterTimeEnd
}
</if>
<if
test=
"trainMaterial != null and trainMaterial != ''"
>
and train_material = #{trainMaterial}
</if>
<if
test=
"trainMaterial != null and trainMaterial != ''"
>
and train_material = #{trainMaterial}
</if>
<if
test=
"changeApplyStatus != null and changeApplyStatus != ''"
>
and change_apply_status = #{changeApplyStatus}
</if>
<if
test=
"changeApplyStatus != null and changeApplyStatus != ''"
>
and change_apply_status = #{changeApplyStatus}
</if>
<if
test=
"isDel != null and isDel != ''"
>
and is_del = #{isDel}
</if>
<if
test=
"isDel != null and isDel != ''"
>
and is_del = #{isDel}
</if>
...
...
danger-manage-web/src/views/deviceManagement/changeApplyApproval/index.vue
View file @
88176c80
...
@@ -12,11 +12,14 @@
...
@@ -12,11 +12,14 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"录入时间"
prop=
"enterTime"
>
<el-form-item
label=
"录入时间"
prop=
"enterTime"
>
<el-date-picker
clearable
size=
"small"
<el-date-picker
v-model=
"queryParams.enterTime"
v-model=
"enterTime"
type=
"date"
value-format=
"yyyy-MM-dd HH:mm:ss"
value-format=
"yyyy-MM-dd"
type=
"datetimerange"
placeholder=
"选择录入时间"
>
range-separator=
"至"
start-placeholder=
"录入开始日期"
end-placeholder=
"录入结束日期"
@
change=
"dateFormat"
>
</el-date-picker>
</el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
...
@@ -236,6 +239,8 @@ export default {
...
@@ -236,6 +239,8 @@ export default {
enterTime
:
null
,
enterTime
:
null
,
changeApplyStatus
:
null
,
changeApplyStatus
:
null
,
isDel
:
null
,
isDel
:
null
,
enterTimeBegin
:
null
,
enterTimeEnd
:
null
}
,
}
,
// 表单参数
// 表单参数
form
:
{
}
,
form
:
{
}
,
...
@@ -321,7 +326,8 @@ export default {
...
@@ -321,7 +326,8 @@ export default {
peopleList
:
[],
peopleList
:
[],
changeApplyId
:
""
,
changeApplyId
:
""
,
detailOpen
:
false
,
detailOpen
:
false
,
approverList
:
[]
approverList
:
[],
enterTime
:
[],
}
;
}
;
}
,
}
,
created
()
{
created
()
{
...
@@ -441,6 +447,9 @@ export default {
...
@@ -441,6 +447,9 @@ export default {
/** 重置按钮操作 */
/** 重置按钮操作 */
resetQuery
()
{
resetQuery
()
{
this
.
resetForm
(
"queryForm"
);
this
.
resetForm
(
"queryForm"
);
this
.
enterTime
=
[];
this
.
queryParams
.
enterTimeBegin
=
null
;
this
.
queryParams
.
enterTimeEnd
=
null
;
this
.
handleQuery
();
this
.
handleQuery
();
}
,
}
,
// 多选框选中数据
// 多选框选中数据
...
@@ -578,7 +587,12 @@ export default {
...
@@ -578,7 +587,12 @@ export default {
this
.
approverList
=
res
.
rows
this
.
approverList
=
res
.
rows
}
}
}
)
}
)
}
}
,
dateFormat
(
picker
){
this
.
enterTime
=
picker
;
this
.
queryParams
.
enterTimeBegin
=
picker
[
0
];
this
.
queryParams
.
enterTimeEnd
=
picker
[
1
];
}
,
}
}
}
;
}
;
<
/script
>
<
/script
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment