Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-baseversion-project
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
王浩
zh-baseversion-project
Commits
09f2f375
Commit
09f2f375
authored
Sep 14, 2024
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 老旧官网改造-供需平衡-第三方施工-重要风险点管控 界面优化。
parent
19c477af
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
12 deletions
+10
-12
TSupBalUsgDayController.java
...web/controller/supplybalance/TSupBalUsgDayController.java
+0
-3
TSupBalStopSup.java
...rc/main/java/com/zehong/system/domain/TSupBalStopSup.java
+2
-2
TSupBalUsgDay.java
...src/main/java/com/zehong/system/domain/TSupBalUsgDay.java
+1
-0
index.vue
zh-baseversion-web/src/views/supplybalance/day/index.vue
+5
-5
index.vue
zh-baseversion-web/src/views/supplybalance/stop/index.vue
+2
-2
No files found.
zh-baseversion-admin/src/main/java/com/zehong/web/controller/supplybalance/TSupBalUsgDayController.java
View file @
09f2f375
package
com
.
zehong
.
web
.
controller
.
supplybalance
;
package
com
.
zehong
.
web
.
controller
.
supplybalance
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.common.core.domain.model.LoginUser
;
import
com.zehong.common.core.domain.model.LoginUser
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.common.utils.SecurityUtils
;
import
com.zehong.system.domain.TSupBalGasSup
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
com.zehong.common.annotation.Log
;
import
com.zehong.common.annotation.Log
;
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/TSupBalStopSup.java
View file @
09f2f375
...
@@ -87,8 +87,8 @@ public class TSupBalStopSup extends BaseEntity
...
@@ -87,8 +87,8 @@ public class TSupBalStopSup extends BaseEntity
private
String
fGovUploadStatus
;
private
String
fGovUploadStatus
;
/** 政府端上报时间 */
/** 政府端上报时间 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm
:ss
"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm"
)
@Excel
(
name
=
"上报省厅时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd HH:mm
:ss
"
)
@Excel
(
name
=
"上报省厅时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd HH:mm"
)
private
Date
fGovUploadTime
;
private
Date
fGovUploadTime
;
public
void
setfGasStopId
(
Long
fGasStopId
)
public
void
setfGasStopId
(
Long
fGasStopId
)
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/TSupBalUsgDay.java
View file @
09f2f375
...
@@ -107,6 +107,7 @@ public class TSupBalUsgDay extends BaseEntity
...
@@ -107,6 +107,7 @@ public class TSupBalUsgDay extends BaseEntity
/** 上报时间,日,格式:2023-09-01 */
/** 上报时间,日,格式:2023-09-01 */
@Excel
(
name
=
"上报时间"
)
@Excel
(
name
=
"上报时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm"
)
private
String
fReportTime
;
private
String
fReportTime
;
/** 创建时间 yyyy-MM-dd hh:mm:ss */
/** 创建时间 yyyy-MM-dd hh:mm:ss */
...
...
zh-baseversion-web/src/views/supplybalance/day/index.vue
View file @
09f2f375
...
@@ -113,7 +113,7 @@
...
@@ -113,7 +113,7 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"上报省厅日期"
align=
"center"
prop=
"fGovUploadTime"
width=
"180"
>
<el-table-column
label=
"上报省厅日期"
align=
"center"
prop=
"fGovUploadTime"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.fGovUploadTime"
>
{{
parseTime
(
scope
.
row
.
fGovUploadTime
,
'{y
}
-{m
}
-{d
}
{h
}
:{i
}
:{s
}
'
)
}}
<
/span
>
<span
v-if=
"scope.row.fGovUploadTime"
>
{{
parseTime
(
scope
.
row
.
fGovUploadTime
,
'{y
}
-{m
}
-{d
}
{h
}
:{i
}
'
)
}}
<
/span
>
<
span
v
-
else
>-<
/span
>
<
span
v
-
else
>-<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
...
@@ -683,9 +683,9 @@ export default {
...
@@ -683,9 +683,9 @@ export default {
this
.
resetReportForm
();
this
.
resetReportForm
();
this
.
getReportInfo
();
this
.
getReportInfo
();
if
(
val
==
0
){
if
(
val
==
0
){
const
startOfMonth
=
moment
(
this
.
reportDate
).
startOf
(
'month'
).
format
(
'YYYY-MM-DD HH:mm
:ss
'
);
const
startOfMonth
=
moment
(
this
.
reportDate
).
startOf
(
'month'
).
format
(
'YYYY-MM-DD HH:mm'
);
// 获取当月结束时间
// 获取当月结束时间
const
endOfMonth
=
moment
(
this
.
reportDate
).
endOf
(
'month'
).
format
(
'YYYY-MM-DD HH:mm
:ss
'
);
const
endOfMonth
=
moment
(
this
.
reportDate
).
endOf
(
'month'
).
format
(
'YYYY-MM-DD HH:mm'
);
this
.
currentMonthReportInfo
(
startOfMonth
,
endOfMonth
);
this
.
currentMonthReportInfo
(
startOfMonth
,
endOfMonth
);
}
}
}
,
}
,
...
@@ -699,7 +699,7 @@ export default {
...
@@ -699,7 +699,7 @@ export default {
cancelButtonText
:
"取消"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
type
:
"warning"
}
).
then
(
function
()
{
}
).
then
(
function
()
{
that
.
reportForm
.
fReportTime
=
moment
().
format
(
'YYYY-MM-DD HH:mm
:ss
'
);
that
.
reportForm
.
fReportTime
=
moment
().
format
(
'YYYY-MM-DD HH:mm'
);
that
.
reportForm
.
calendarDate
=
that
.
reportDate
;
that
.
reportForm
.
calendarDate
=
that
.
reportDate
;
that
.
reportForm
.
fReportStatus
=
'1'
;
that
.
reportForm
.
fReportStatus
=
'1'
;
return
updateDay
(
that
.
reportForm
);
return
updateDay
(
that
.
reportForm
);
...
@@ -708,7 +708,7 @@ export default {
...
@@ -708,7 +708,7 @@ export default {
that
.
msgSuccess
(
"上报成功"
);
that
.
msgSuccess
(
"上报成功"
);
}
).
catch
(()
=>
{
}
);
}
).
catch
(()
=>
{
}
);
}
else
{
}
else
{
this
.
reportForm
.
fReportTime
=
moment
().
format
(
'YYYY-MM-DD HH:mm
:ss
'
);
this
.
reportForm
.
fReportTime
=
moment
().
format
(
'YYYY-MM-DD HH:mm'
);
this
.
reportForm
.
fCalendarDate
=
this
.
reportDate
;
this
.
reportForm
.
fCalendarDate
=
this
.
reportDate
;
this
.
reportForm
.
fReportStatus
=
'1'
;
this
.
reportForm
.
fReportStatus
=
'1'
;
addDay
(
this
.
reportForm
).
then
(
response
=>
{
addDay
(
this
.
reportForm
).
then
(
response
=>
{
...
...
zh-baseversion-web/src/views/supplybalance/stop/index.vue
View file @
09f2f375
...
@@ -123,7 +123,7 @@
...
@@ -123,7 +123,7 @@
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"上报时间"
align
=
"center"
prop
=
"entRepTime"
width
=
"150"
v
-
if
=
"this.$store.state.user.roleId == 5"
>
<
el
-
table
-
column
label
=
"上报时间"
align
=
"center"
prop
=
"entRepTime"
width
=
"150"
v
-
if
=
"this.$store.state.user.roleId == 5"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
span
v
-
if
=
"scope.row.entRepTime"
>
{{
parseTime
(
scope
.
row
.
entRepTime
,
'{y
}
-{m
}
-{d
}
{h
}
:{i
}
:{s
}
'
)
}}
<
/span
>
<
span
v
-
if
=
"scope.row.entRepTime"
>
{{
parseTime
(
scope
.
row
.
entRepTime
,
'{y
}
-{m
}
-{d
}
{h
}
:{i
}
'
)
}}
<
/span
>
<
span
v
-
else
>-<
/span
>
<
span
v
-
else
>-<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
...
@@ -136,7 +136,7 @@
...
@@ -136,7 +136,7 @@
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"上报省厅时间"
align
=
"center"
prop
=
"fRecoveryGasTime"
width
=
"150"
v
-
if
=
"this.$store.state.user.roleId == 3"
>
<
el
-
table
-
column
label
=
"上报省厅时间"
align
=
"center"
prop
=
"fRecoveryGasTime"
width
=
"150"
v
-
if
=
"this.$store.state.user.roleId == 3"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
span
v
-
if
=
"scope.row.fGovUploadTime"
>
{{
parseTime
(
scope
.
row
.
fGovUploadTime
,
'{y
}
-{m
}
-{d
}
{h
}
:{i
}
:{s
}
'
)
}}
<
/span
>
<
span
v
-
if
=
"scope.row.fGovUploadTime"
>
{{
parseTime
(
scope
.
row
.
fGovUploadTime
,
'{y
}
-{m
}
-{d
}
{h
}
:{i
}
'
)
}}
<
/span
>
<
span
v
-
else
>-<
/span
>
<
span
v
-
else
>-<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
...
...
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