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
c7cd5964
Commit
c7cd5964
authored
Feb 14, 2023
by
王晓倩
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
2d837d7d
2e8b5d59
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
14 deletions
+22
-14
TBreakRulesPersonRecordMapper.xml
...resources/mapper/system/TBreakRulesPersonRecordMapper.xml
+1
-0
index.vue
...web/src/views/safetyManagement/enterpriseSystem/index.vue
+9
-6
index.vue
danger-manage-web/src/views/safetyManagement/laws/index.vue
+11
-7
pom.xml
pom.xml
+1
-1
No files found.
danger-manage-system/src/main/resources/mapper/system/TBreakRulesPersonRecordMapper.xml
View file @
c7cd5964
...
@@ -35,6 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -35,6 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"reportTimeBegin != null and reportTimeEnd != null"
>
and report_time BETWEEN #{ reportTimeBegin } AND #{ reportTimeEnd }
</if>
<if
test=
"reportTimeBegin != null and reportTimeEnd != null"
>
and report_time BETWEEN #{ reportTimeBegin } AND #{ reportTimeEnd }
</if>
<if
test=
"isDel != null and isDel != ''"
>
and is_del = #{isDel}
</if>
<if
test=
"isDel != null and isDel != ''"
>
and is_del = #{isDel}
</if>
</where>
</where>
ORDER BY report_time DESC
</select>
</select>
<select
id=
"selectTBreakRulesPersonRecordById"
parameterType=
"Long"
resultMap=
"TBreakRulesPersonRecordResult"
>
<select
id=
"selectTBreakRulesPersonRecordById"
parameterType=
"Long"
resultMap=
"TBreakRulesPersonRecordResult"
>
...
...
danger-manage-web/src/views/safetyManagement/enterpriseSystem/index.vue
View file @
c7cd5964
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<!-- <el-table-column label="状态" align="center" prop="status" :formatter="statusFormat" />--
>
<el-table-column
label=
"状态"
align=
"center"
prop=
"status"
:formatter=
"statusFormat"
/
>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
/>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
/>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
icon=
"el-icon-edit"
icon=
"el-icon-edit"
@
click=
"handleDetail(scope.row)"
@
click=
"handleDetail(scope.row)"
>
详情
</el-button>
>
详情
</el-button>
<
!--
<
el-button
<el-button
v-if=
"scope.row.status == '0'"
v-if=
"scope.row.status == '0'"
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
...
@@ -108,6 +108,7 @@
...
@@ -108,6 +108,7 @@
type=
"text"
type=
"text"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
@
click=
"handleApproval(scope.row)"
@
click=
"handleApproval(scope.row)"
v-hasPermi=
"['safetyManagement:enterpriseSystem:edit']"
>
审批
</el-button>
>
审批
</el-button>
<el-button
<el-button
v-if=
"scope.row.status == '2'"
v-if=
"scope.row.status == '2'"
...
@@ -115,7 +116,8 @@
...
@@ -115,7 +116,8 @@
type=
"text"
type=
"text"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
@
click=
"handleInvalid(scope.row)"
@
click=
"handleInvalid(scope.row)"
>
作废
</el-button>
-->
v-hasPermi=
"['safetyManagement:enterpriseSystem:edit']"
>
作废
</el-button>
<el-button
<el-button
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
...
@@ -176,10 +178,10 @@
...
@@ -176,10 +178,10 @@
</span>
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
<
!--<
el-form-item v-show="operate" label="审批" prop="status">
<el-form-item
v-show=
"operate"
label=
"审批"
prop=
"status"
>
<el-radio
v-model=
"form.status"
label=
"2"
>
通过
</el-radio>
<el-radio
v-model=
"form.status"
label=
"2"
>
通过
</el-radio>
<el-radio
v-model=
"form.status"
label=
"0"
>
驳回
</el-radio>
<el-radio
v-model=
"form.status"
label=
"0"
>
驳回
</el-radio>
</el-form-item>
-->
</el-form-item>
</div>
</div>
<div
style=
"width: 58%;margin-left: 2%"
>
<div
style=
"width: 58%;margin-left: 2%"
>
<div
class=
"dialogTitle"
>
制度内容
</div>
<div
class=
"dialogTitle"
>
制度内容
</div>
...
@@ -312,6 +314,7 @@ export default {
...
@@ -312,6 +314,7 @@ export default {
};
};
this
.
resetForm
(
"form"
);
this
.
resetForm
(
"form"
);
this
.
fileList
=
[];
this
.
fileList
=
[];
this
.
operate
=
false
;
},
},
/** 搜索按钮操作 */
/** 搜索按钮操作 */
handleQuery
()
{
handleQuery
()
{
...
@@ -362,7 +365,7 @@ export default {
...
@@ -362,7 +365,7 @@ export default {
},
},
/** 审批按钮操作 */
/** 审批按钮操作 */
handleApproval
(
row
)
{
handleApproval
(
row
)
{
this
.
readOnly
=
tru
e
;
this
.
readOnly
=
fals
e
;
this
.
reset
();
this
.
reset
();
const
systemId
=
row
.
systemId
||
this
.
ids
const
systemId
=
row
.
systemId
||
this
.
ids
getEnterpriseSystem
(
systemId
).
then
(
response
=>
{
getEnterpriseSystem
(
systemId
).
then
(
response
=>
{
...
...
danger-manage-web/src/views/safetyManagement/laws/index.vue
View file @
c7cd5964
...
@@ -84,9 +84,9 @@
...
@@ -84,9 +84,9 @@
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<!-- <el-table-column label="状态" align="center" prop="status" :formatter="statusFormat" width="120px" />--
>
<el-table-column
label=
"状态"
align=
"center"
prop=
"status"
:formatter=
"statusFormat"
width=
"120px"
/
>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
/>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
width=
"150px"
/>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
width=
"210px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
size=
"mini"
size=
"mini"
...
@@ -101,12 +101,13 @@
...
@@ -101,12 +101,13 @@
icon=
"el-icon-edit"
icon=
"el-icon-edit"
@
click=
"handleDetail(scope.row)"
@
click=
"handleDetail(scope.row)"
>
详情
</el-button>
>
详情
</el-button>
<
!--
<
el-button
<el-button
v-if=
"scope.row.status == '0'"
v-if=
"scope.row.status == '0'"
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
@
click=
"handlePublish(scope.row)"
@
click=
"handlePublish(scope.row)"
v-hasPermi=
"['safetyManagement:enterpriseSystem:edit']"
>
发布
</el-button>
>
发布
</el-button>
<el-button
<el-button
v-if=
"scope.row.status == '1'"
v-if=
"scope.row.status == '1'"
...
@@ -114,6 +115,7 @@
...
@@ -114,6 +115,7 @@
type=
"text"
type=
"text"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
@
click=
"handleApproval(scope.row)"
@
click=
"handleApproval(scope.row)"
v-hasPermi=
"['safetyManagement:enterpriseSystem:edit']"
>
审批
</el-button>
>
审批
</el-button>
<el-button
<el-button
v-if=
"scope.row.status == '2'"
v-if=
"scope.row.status == '2'"
...
@@ -121,7 +123,8 @@
...
@@ -121,7 +123,8 @@
type=
"text"
type=
"text"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
@
click=
"handleInvalid(scope.row)"
@
click=
"handleInvalid(scope.row)"
>
作废
</el-button>
-->
v-hasPermi=
"['safetyManagement:enterpriseSystem:edit']"
>
作废
</el-button>
<el-button
<el-button
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
...
@@ -198,10 +201,10 @@
...
@@ -198,10 +201,10 @@
</span>
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
<
!--<
el-form-item v-show="operate" label="审批" prop="status">
<el-form-item
v-show=
"operate"
label=
"审批"
prop=
"status"
>
<el-radio
v-model=
"form.status"
label=
"2"
>
通过
</el-radio>
<el-radio
v-model=
"form.status"
label=
"2"
>
通过
</el-radio>
<el-radio
v-model=
"form.status"
label=
"0"
>
驳回
</el-radio>
<el-radio
v-model=
"form.status"
label=
"0"
>
驳回
</el-radio>
</el-form-item>
-->
</el-form-item>
</div>
</div>
<div
style=
"width: 58%;margin-left: 2%"
>
<div
style=
"width: 58%;margin-left: 2%"
>
<div
class=
"dialogTitle"
>
法律法规内容
</div>
<div
class=
"dialogTitle"
>
法律法规内容
</div>
...
@@ -333,6 +336,7 @@ export default {
...
@@ -333,6 +336,7 @@ export default {
};
};
this
.
resetForm
(
"form"
);
this
.
resetForm
(
"form"
);
this
.
fileList
=
[];
this
.
fileList
=
[];
this
.
operate
=
false
;
},
},
/** 搜索按钮操作 */
/** 搜索按钮操作 */
handleQuery
()
{
handleQuery
()
{
...
...
pom.xml
View file @
c7cd5964
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<kaptcha.version>
2.3.2
</kaptcha.version>
<kaptcha.version>
2.3.2
</kaptcha.version>
<mybatis-spring-boot.version>
2.1.4
</mybatis-spring-boot.version>
<mybatis-spring-boot.version>
2.1.4
</mybatis-spring-boot.version>
<pagehelper.boot.version>
1.3.0
</pagehelper.boot.version>
<pagehelper.boot.version>
1.3.0
</pagehelper.boot.version>
<fastjson.version>
1.2.
76
</fastjson.version>
<fastjson.version>
1.2.
83
</fastjson.version>
<oshi.version>
5.6.0
</oshi.version>
<oshi.version>
5.6.0
</oshi.version>
<jna.version>
5.7.0
</jna.version>
<jna.version>
5.7.0
</jna.version>
<commons.io.version>
2.5
</commons.io.version>
<commons.io.version>
2.5
</commons.io.version>
...
...
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