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
8d2145db
Commit
8d2145db
authored
Sep 13, 2024
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 液化石油气监管-气瓶档案导入-功能开发, 涉及到实体类解析报错问题处理.
parent
53052611
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
252 additions
and
190 deletions
+252
-190
TLpgGasBottleFilesController.java
...ontroller/lpgRegulation/TLpgGasBottleFilesController.java
+4
-7
TimeTasksController.java
...a/com/zehong/web/controller/task/TimeTasksController.java
+7
-7
TLpgGasBottleFiles.java
...ain/java/com/zehong/system/domain/TLpgGasBottleFiles.java
+52
-55
TLpgGasBottleFilesMapper.java
...va/com/zehong/system/mapper/TLpgGasBottleFilesMapper.java
+14
-0
ITLpgGasBottleFilesService.java
...com/zehong/system/service/ITLpgGasBottleFilesService.java
+7
-1
TLpgAirChargeFilesServiceImpl.java
...ng/system/service/impl/TLpgAirChargeFilesServiceImpl.java
+1
-1
TLpgDeliveryRecordServiceImpl.java
...ng/system/service/impl/TLpgDeliveryRecordServiceImpl.java
+2
-2
TLpgGasBottleFilesServiceImpl.java
...ng/system/service/impl/TLpgGasBottleFilesServiceImpl.java
+13
-6
TLpgGasBottleFilesMapper.xml
...main/resources/mapper/system/TLpgGasBottleFilesMapper.xml
+75
-26
indexInfo.vue
...ews/lpgRegulation/gasbottlefiles/components/indexInfo.vue
+57
-57
index.vue
...sion-web/src/views/lpgRegulation/gasbottlefiles/index.vue
+20
-28
No files found.
zh-baseversion-admin/src/main/java/com/zehong/web/controller/lpgRegulation/TLpgGasBottleFilesController.java
View file @
8d2145db
package
com
.
zehong
.
web
.
controller
.
lpgRegulation
;
package
com
.
zehong
.
web
.
controller
.
lpgRegulation
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
com.zehong.system.domain.TLpgAirChargeFiles
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
...
@@ -56,8 +53,8 @@ public class TLpgGasBottleFilesController extends BaseController
...
@@ -56,8 +53,8 @@ public class TLpgGasBottleFilesController extends BaseController
@GetMapping
(
"/export"
)
@GetMapping
(
"/export"
)
public
AjaxResult
export
(
TLpgGasBottleFiles
tLpgGasBottleFiles
)
public
AjaxResult
export
(
TLpgGasBottleFiles
tLpgGasBottleFiles
)
{
{
List
<
TLpgGasBottleFiles
>
list
=
tLpgGasBottleFilesService
.
selec
tTLpgGasBottleFilesList
(
tLpgGasBottleFiles
);
List
<
TLpgGasBottleFiles
>
list
=
tLpgGasBottleFilesService
.
expor
tTLpgGasBottleFilesList
(
tLpgGasBottleFiles
);
ExcelUtil
<
TLpgGasBottleFiles
>
util
=
new
ExcelUtil
<
TLpgGasBottleFiles
>(
TLpgGasBottleFiles
.
class
);
ExcelUtil
<
TLpgGasBottleFiles
>
util
=
new
ExcelUtil
<>(
TLpgGasBottleFiles
.
class
);
return
util
.
exportExcel
(
list
,
"液化石油气-气瓶档案数据"
);
return
util
.
exportExcel
(
list
,
"液化石油气-气瓶档案数据"
);
}
}
...
@@ -124,8 +121,8 @@ public class TLpgGasBottleFilesController extends BaseController
...
@@ -124,8 +121,8 @@ public class TLpgGasBottleFilesController extends BaseController
ExcelUtil
<
TLpgGasBottleFiles
>
util
=
new
ExcelUtil
<>(
TLpgGasBottleFiles
.
class
);
ExcelUtil
<
TLpgGasBottleFiles
>
util
=
new
ExcelUtil
<>(
TLpgGasBottleFiles
.
class
);
List
<
TLpgGasBottleFiles
>
XmbhList
=
util
.
importExcel
(
file
.
getInputStream
());
List
<
TLpgGasBottleFiles
>
XmbhList
=
util
.
importExcel
(
file
.
getInputStream
());
Map
<
String
,
Object
>
map
=
tLpgGasBottleFilesService
.
importLpgGasBottleFilesInfo
(
XmbhList
,
updateSupport
,
response
);
tLpgGasBottleFilesService
.
importLpgGasBottleFilesInfo
(
XmbhList
,
updateSupport
,
response
);
return
AjaxResult
.
success
(
map
);
return
AjaxResult
.
success
();
}
}
}
}
zh-baseversion-admin/src/main/java/com/zehong/web/controller/task/TimeTasksController.java
View file @
8d2145db
...
@@ -138,29 +138,29 @@ public class TimeTasksController {
...
@@ -138,29 +138,29 @@ public class TimeTasksController {
tLpgGasBottleFiles
.
setVolume
(
new
BigDecimal
(
0
));
tLpgGasBottleFiles
.
setVolume
(
new
BigDecimal
(
0
));
}
}
tLpgGasBottleFiles
.
setAppId
(
jsonObject
.
getString
(
"appId"
));
tLpgGasBottleFiles
.
setAppId
(
jsonObject
.
getString
(
"appId"
));
tLpgGasBottleFiles
.
set
qR
code
(
jsonObject
.
getString
(
"qRcode"
));
tLpgGasBottleFiles
.
set
Qr
code
(
jsonObject
.
getString
(
"qRcode"
));
tLpgGasBottleFiles
.
setBuildUser
(
jsonObject
.
getString
(
"buildUser"
));
tLpgGasBottleFiles
.
setBuildUser
(
jsonObject
.
getString
(
"buildUser"
));
tLpgGasBottleFiles
.
setAddTime
(
jsonObject
.
getDate
(
"addtime"
));
tLpgGasBottleFiles
.
setAddTime
(
jsonObject
.
getDate
(
"addtime"
));
tLpgGasBottleFiles
.
setOptName
(
jsonObject
.
getString
(
"optName"
));
tLpgGasBottleFiles
.
setOptName
(
jsonObject
.
getString
(
"optName"
));
tLpgGasBottleFiles
.
setUpTime
(
jsonObject
.
getDate
(
"uptime"
));
tLpgGasBottleFiles
.
setUpTime
(
jsonObject
.
getDate
(
"uptime"
));
tLpgGasBottleFiles
.
setState
(
jsonObject
.
getString
(
"state"
));
tLpgGasBottleFiles
.
setState
(
jsonObject
.
getString
(
"state"
));
tLpgGasBottleFiles
.
setUpOptName
(
jsonObject
.
getString
(
"upOptName"
));
tLpgGasBottleFiles
.
setUpOptName
(
jsonObject
.
getString
(
"upOptName"
));
tLpgGasBottleFiles
.
set
pC
hkDate
(
jsonObject
.
getDate
(
"pChkDate"
));
tLpgGasBottleFiles
.
set
Pc
hkDate
(
jsonObject
.
getDate
(
"pChkDate"
));
tLpgGasBottleFiles
.
set
nC
hkDate
(
jsonObject
.
getDate
(
"nChkDate"
));
tLpgGasBottleFiles
.
set
Nc
hkDate
(
jsonObject
.
getDate
(
"nChkDate"
));
tLpgGasBottleFiles
.
setProductDate
(
jsonObject
.
getDate
(
"productDate"
));
tLpgGasBottleFiles
.
setProductDate
(
jsonObject
.
getDate
(
"productDate"
));
tLpgGasBottleFiles
.
setDiscardDate
(
jsonObject
.
getDate
(
"discardDate"
));
tLpgGasBottleFiles
.
setDiscardDate
(
jsonObject
.
getDate
(
"discardDate"
));
tLpgGasBottleFiles
.
setSafeJudgeDate
(
jsonObject
.
getDate
(
"safeJudgeDate"
));
tLpgGasBottleFiles
.
setSafeJudgeDate
(
jsonObject
.
getDate
(
"safeJudgeDate"
));
String
gpressure
=
jsonObject
.
getString
(
"gpressure"
);
String
gpressure
=
jsonObject
.
getString
(
"gpressure"
);
if
(
gpressure
!=
null
&&
!
gpressure
.
isEmpty
())
{
if
(
gpressure
!=
null
&&
!
gpressure
.
isEmpty
())
{
tLpgGasBottleFiles
.
set
gP
ressure
(
new
BigDecimal
(
gpressure
));
tLpgGasBottleFiles
.
set
Gp
ressure
(
new
BigDecimal
(
gpressure
));
}
else
{
}
else
{
tLpgGasBottleFiles
.
set
gP
ressure
(
new
BigDecimal
(
0
));
tLpgGasBottleFiles
.
set
Gp
ressure
(
new
BigDecimal
(
0
));
}
}
String
wpressure
=
jsonObject
.
getString
(
"wpressure"
);
String
wpressure
=
jsonObject
.
getString
(
"wpressure"
);
if
(
wpressure
!=
null
&&
!
wpressure
.
isEmpty
())
{
if
(
wpressure
!=
null
&&
!
wpressure
.
isEmpty
())
{
tLpgGasBottleFiles
.
set
wP
ressure
(
new
BigDecimal
(
wpressure
));
tLpgGasBottleFiles
.
set
Wp
ressure
(
new
BigDecimal
(
wpressure
));
}
else
{
}
else
{
tLpgGasBottleFiles
.
set
wP
ressure
(
new
BigDecimal
(
0
));
tLpgGasBottleFiles
.
set
Wp
ressure
(
new
BigDecimal
(
0
));
}
}
String
selfWeight
=
jsonObject
.
getString
(
"selfWeight"
);
String
selfWeight
=
jsonObject
.
getString
(
"selfWeight"
);
if
(
selfWeight
!=
null
&&
!
selfWeight
.
isEmpty
())
{
if
(
selfWeight
!=
null
&&
!
selfWeight
.
isEmpty
())
{
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/TLpgGasBottleFiles.java
View file @
8d2145db
...
@@ -3,8 +3,6 @@ package com.zehong.system.domain;
...
@@ -3,8 +3,6 @@ package com.zehong.system.domain;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
java.util.Date
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
com.zehong.common.annotation.Excel
;
import
com.zehong.common.annotation.Excel
;
import
com.zehong.common.core.domain.BaseEntity
;
import
com.zehong.common.core.domain.BaseEntity
;
...
@@ -27,7 +25,7 @@ public class TLpgGasBottleFiles extends BaseEntity
...
@@ -27,7 +25,7 @@ public class TLpgGasBottleFiles extends BaseEntity
/** 气瓶条码 */
/** 气瓶条码 */
@Excel
(
name
=
"气瓶条码"
,
width
=
30
)
@Excel
(
name
=
"气瓶条码"
,
width
=
30
)
private
String
q
R
code
;
private
String
q
r
code
;
/** 登记证号 */
/** 登记证号 */
@Excel
(
name
=
"登记证号"
,
width
=
30
)
@Excel
(
name
=
"登记证号"
,
width
=
30
)
...
@@ -80,7 +78,7 @@ public class TLpgGasBottleFiles extends BaseEntity
...
@@ -80,7 +78,7 @@ public class TLpgGasBottleFiles extends BaseEntity
private
Date
upTime
;
private
Date
upTime
;
/** 状态1 新增、2 修改、-1、删除 (默认1) 3.注销 */
/** 状态1 新增、2 修改、-1、删除 (默认1) 3.注销 */
@Excel
(
name
=
"气瓶状态 "
,
readConverterExp
=
"1=新增,2=修改,-1=删除"
)
//@Excel(name = "气瓶状态 ", readConverterExp = "1=新增,2=修改,-1=删除") 2024-09-13 wh 去掉,感觉监管不需要
private
String
state
;
private
String
state
;
/** 修改人姓名 */
/** 修改人姓名 */
...
@@ -89,12 +87,12 @@ public class TLpgGasBottleFiles extends BaseEntity
...
@@ -89,12 +87,12 @@ public class TLpgGasBottleFiles extends BaseEntity
/** 上检日期 */
/** 上检日期 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"上检日期"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"上检日期"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
p
C
hkDate
;
private
Date
p
c
hkDate
;
/** 下检日期 */
/** 下检日期 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"下检日期"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"下检日期"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
n
C
hkDate
;
private
Date
n
c
hkDate
;
/** 生产日期 */
/** 生产日期 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
...
@@ -113,11 +111,11 @@ public class TLpgGasBottleFiles extends BaseEntity
...
@@ -113,11 +111,11 @@ public class TLpgGasBottleFiles extends BaseEntity
/** 公称压力Mpa */
/** 公称压力Mpa */
@Excel
(
name
=
"公称压力/Mpa"
)
@Excel
(
name
=
"公称压力/Mpa"
)
private
BigDecimal
g
P
ressure
;
private
BigDecimal
g
p
ressure
;
/** 水试验压力Mpa */
/** 水试验压力Mpa */
@Excel
(
name
=
"水试验压力/Mpa"
)
@Excel
(
name
=
"水试验压力/Mpa"
)
private
BigDecimal
w
P
ressure
;
private
BigDecimal
w
p
ressure
;
/** 标准重量KG */
/** 标准重量KG */
@Excel
(
name
=
"标准重量/KG"
)
@Excel
(
name
=
"标准重量/KG"
)
...
@@ -176,7 +174,7 @@ public class TLpgGasBottleFiles extends BaseEntity
...
@@ -176,7 +174,7 @@ public class TLpgGasBottleFiles extends BaseEntity
private
Long
inspectedTimes
;
private
Long
inspectedTimes
;
/** 是否专用(1:专用 2:托管) */
/** 是否专用(1:专用 2:托管) */
@Excel
(
name
=
"是否专用"
)
//@Excel(name = "是否专用") 2024-09-13 wh 去掉,感觉监管不需要
private
String
isSpecialized
;
private
String
isSpecialized
;
/** 阀厂家 */
/** 阀厂家 */
...
@@ -216,15 +214,6 @@ public class TLpgGasBottleFiles extends BaseEntity
...
@@ -216,15 +214,6 @@ public class TLpgGasBottleFiles extends BaseEntity
public
void
setMakeInfo
(
String
makeInfo
)
{
public
void
setMakeInfo
(
String
makeInfo
)
{
this
.
makeInfo
=
makeInfo
;
this
.
makeInfo
=
makeInfo
;
}
}
public
String
getqRcode
()
{
return
qRcode
;
}
public
void
setqRcode
(
String
qRcode
)
{
this
.
qRcode
=
qRcode
;
}
public
String
getRegCode
()
{
public
String
getRegCode
()
{
return
regCode
;
return
regCode
;
}
}
...
@@ -345,22 +334,6 @@ public class TLpgGasBottleFiles extends BaseEntity
...
@@ -345,22 +334,6 @@ public class TLpgGasBottleFiles extends BaseEntity
this
.
upOptName
=
upOptName
;
this
.
upOptName
=
upOptName
;
}
}
public
Date
getpChkDate
()
{
return
pChkDate
;
}
public
void
setpChkDate
(
Date
pChkDate
)
{
this
.
pChkDate
=
pChkDate
;
}
public
Date
getnChkDate
()
{
return
nChkDate
;
}
public
void
setnChkDate
(
Date
nChkDate
)
{
this
.
nChkDate
=
nChkDate
;
}
public
Date
getProductDate
()
{
public
Date
getProductDate
()
{
return
productDate
;
return
productDate
;
}
}
...
@@ -385,22 +358,6 @@ public class TLpgGasBottleFiles extends BaseEntity
...
@@ -385,22 +358,6 @@ public class TLpgGasBottleFiles extends BaseEntity
this
.
safeJudgeDate
=
safeJudgeDate
;
this
.
safeJudgeDate
=
safeJudgeDate
;
}
}
public
BigDecimal
getgPressure
()
{
return
gPressure
;
}
public
void
setgPressure
(
BigDecimal
gPressure
)
{
this
.
gPressure
=
gPressure
;
}
public
BigDecimal
getwPressure
()
{
return
wPressure
;
}
public
void
setwPressure
(
BigDecimal
wPressure
)
{
this
.
wPressure
=
wPressure
;
}
public
BigDecimal
getSelfWeight
()
{
public
BigDecimal
getSelfWeight
()
{
return
selfWeight
;
return
selfWeight
;
}
}
...
@@ -569,12 +526,52 @@ public class TLpgGasBottleFiles extends BaseEntity
...
@@ -569,12 +526,52 @@ public class TLpgGasBottleFiles extends BaseEntity
this
.
rowVersion
=
rowVersion
;
this
.
rowVersion
=
rowVersion
;
}
}
public
String
getQrcode
()
{
return
qrcode
;
}
public
void
setQrcode
(
String
qrcode
)
{
this
.
qrcode
=
qrcode
;
}
public
Date
getPchkDate
()
{
return
pchkDate
;
}
public
void
setPchkDate
(
Date
pchkDate
)
{
this
.
pchkDate
=
pchkDate
;
}
public
Date
getNchkDate
()
{
return
nchkDate
;
}
public
void
setNchkDate
(
Date
nchkDate
)
{
this
.
nchkDate
=
nchkDate
;
}
public
BigDecimal
getGpressure
()
{
return
gpressure
;
}
public
void
setGpressure
(
BigDecimal
gpressure
)
{
this
.
gpressure
=
gpressure
;
}
public
BigDecimal
getWpressure
()
{
return
wpressure
;
}
public
void
setWpressure
(
BigDecimal
wpressure
)
{
this
.
wpressure
=
wpressure
;
}
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
return
"TLpgGasBottleFiles{"
+
return
"TLpgGasBottleFiles{"
+
"gasBottleFilesId="
+
gasBottleFilesId
+
"gasBottleFilesId="
+
gasBottleFilesId
+
", makeInfo='"
+
makeInfo
+
'\''
+
", makeInfo='"
+
makeInfo
+
'\''
+
", qRcode='"
+
q
R
code
+
'\''
+
", qRcode='"
+
q
r
code
+
'\''
+
", regCode='"
+
regCode
+
'\''
+
", regCode='"
+
regCode
+
'\''
+
", equNo='"
+
equNo
+
'\''
+
", equNo='"
+
equNo
+
'\''
+
", equType='"
+
equType
+
'\''
+
", equType='"
+
equType
+
'\''
+
...
@@ -590,13 +587,13 @@ public class TLpgGasBottleFiles extends BaseEntity
...
@@ -590,13 +587,13 @@ public class TLpgGasBottleFiles extends BaseEntity
", upTime="
+
upTime
+
", upTime="
+
upTime
+
", state='"
+
state
+
'\''
+
", state='"
+
state
+
'\''
+
", upOptName='"
+
upOptName
+
'\''
+
", upOptName='"
+
upOptName
+
'\''
+
", pChkDate="
+
p
C
hkDate
+
", pChkDate="
+
p
c
hkDate
+
", nChkDate="
+
n
C
hkDate
+
", nChkDate="
+
n
c
hkDate
+
", productDate="
+
productDate
+
", productDate="
+
productDate
+
", discardDate="
+
discardDate
+
", discardDate="
+
discardDate
+
", safeJudgeDate="
+
safeJudgeDate
+
", safeJudgeDate="
+
safeJudgeDate
+
", gPressure="
+
g
P
ressure
+
", gPressure="
+
g
p
ressure
+
", wPressure="
+
w
P
ressure
+
", wPressure="
+
w
p
ressure
+
", selfWeight="
+
selfWeight
+
", selfWeight="
+
selfWeight
+
", thickness="
+
thickness
+
", thickness="
+
thickness
+
", permitNo='"
+
permitNo
+
'\''
+
", permitNo='"
+
permitNo
+
'\''
+
...
...
zh-baseversion-system/src/main/java/com/zehong/system/mapper/TLpgGasBottleFilesMapper.java
View file @
8d2145db
...
@@ -28,6 +28,13 @@ public interface TLpgGasBottleFilesMapper
...
@@ -28,6 +28,13 @@ public interface TLpgGasBottleFilesMapper
*/
*/
public
List
<
TLpgGasBottleFiles
>
selectTLpgGasBottleFilesList
(
TLpgGasBottleFiles
tLpgGasBottleFiles
);
public
List
<
TLpgGasBottleFiles
>
selectTLpgGasBottleFilesList
(
TLpgGasBottleFiles
tLpgGasBottleFiles
);
/**
* 导出查询
* @param tLpgGasBottleFiles t
* @return r
*/
public
List
<
TLpgGasBottleFiles
>
exportTLpgGasBottleFilesList
(
TLpgGasBottleFiles
tLpgGasBottleFiles
);
/**
/**
* 根据 气瓶条码 集合查询数据
* 根据 气瓶条码 集合查询数据
* @param codeList codelist
* @param codeList codelist
...
@@ -43,6 +50,13 @@ public interface TLpgGasBottleFilesMapper
...
@@ -43,6 +50,13 @@ public interface TLpgGasBottleFilesMapper
*/
*/
public
int
insertTLpgGasBottleFiles
(
TLpgGasBottleFiles
tLpgGasBottleFiles
);
public
int
insertTLpgGasBottleFiles
(
TLpgGasBottleFiles
tLpgGasBottleFiles
);
/**
* 批量插入
* @param list list
* @return r
*/
public
int
insertBatch
(
List
<
TLpgGasBottleFiles
>
list
);
/**
/**
* 修改液化石油气-气瓶档案
* 修改液化石油气-气瓶档案
*
*
...
...
zh-baseversion-system/src/main/java/com/zehong/system/service/ITLpgGasBottleFilesService.java
View file @
8d2145db
...
@@ -31,6 +31,12 @@ public interface ITLpgGasBottleFilesService
...
@@ -31,6 +31,12 @@ public interface ITLpgGasBottleFilesService
*/
*/
public
List
<
TLpgGasBottleFiles
>
selectTLpgGasBottleFilesList
(
TLpgGasBottleFiles
tLpgGasBottleFiles
);
public
List
<
TLpgGasBottleFiles
>
selectTLpgGasBottleFilesList
(
TLpgGasBottleFiles
tLpgGasBottleFiles
);
/**
* 导出查询
* @param tLpgGasBottleFiles t
* @return r
*/
public
List
<
TLpgGasBottleFiles
>
exportTLpgGasBottleFilesList
(
TLpgGasBottleFiles
tLpgGasBottleFiles
);
/**
/**
* 新增液化石油气-气瓶档案
* 新增液化石油气-气瓶档案
*
*
...
@@ -70,6 +76,6 @@ public interface ITLpgGasBottleFilesService
...
@@ -70,6 +76,6 @@ public interface ITLpgGasBottleFilesService
* @param response res
* @param response res
* @return r
* @return r
*/
*/
public
Map
<
String
,
Object
>
importLpgGasBottleFilesInfo
(
List
<
TLpgGasBottleFiles
>
xmbhList
,
boolean
updateSupport
,
HttpServletResponse
response
);
public
void
importLpgGasBottleFilesInfo
(
List
<
TLpgGasBottleFiles
>
xmbhList
,
boolean
updateSupport
,
HttpServletResponse
response
);
}
}
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TLpgAirChargeFilesServiceImpl.java
View file @
8d2145db
...
@@ -152,7 +152,7 @@ public class TLpgAirChargeFilesServiceImpl implements ITLpgAirChargeFilesService
...
@@ -152,7 +152,7 @@ public class TLpgAirChargeFilesServiceImpl implements ITLpgAirChargeFilesService
// 这是 上面气瓶条码 有的气瓶数据
// 这是 上面气瓶条码 有的气瓶数据
List
<
TLpgGasBottleFiles
>
tLpgGasBottleFiles2
=
tLpgGasBottleFilesMapper
.
queryAllByFQRcodeList
(
collect
);
List
<
TLpgGasBottleFiles
>
tLpgGasBottleFiles2
=
tLpgGasBottleFilesMapper
.
queryAllByFQRcodeList
(
collect
);
// 按照 气瓶条码 分组
// 按照 气瓶条码 分组
Map
<
String
,
List
<
TLpgGasBottleFiles
>>
collect1
=
tLpgGasBottleFiles2
.
stream
().
collect
(
Collectors
.
groupingBy
(
TLpgGasBottleFiles:
:
get
qR
code
));
Map
<
String
,
List
<
TLpgGasBottleFiles
>>
collect1
=
tLpgGasBottleFiles2
.
stream
().
collect
(
Collectors
.
groupingBy
(
TLpgGasBottleFiles:
:
get
Qr
code
));
errorNum
+=
noBarCodeList
.
size
();
errorNum
+=
noBarCodeList
.
size
();
...
...
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TLpgDeliveryRecordServiceImpl.java
View file @
8d2145db
...
@@ -98,13 +98,13 @@ public class TLpgDeliveryRecordServiceImpl implements ITLpgDeliveryRecordService
...
@@ -98,13 +98,13 @@ public class TLpgDeliveryRecordServiceImpl implements ITLpgDeliveryRecordService
// 气瓶条码处理
// 气瓶条码处理
TLpgGasBottleFiles
tLpgGasBottleFiles
=
new
TLpgGasBottleFiles
();
TLpgGasBottleFiles
tLpgGasBottleFiles
=
new
TLpgGasBottleFiles
();
tLpgGasBottleFiles
.
set
qR
code
(
tLpgDeliveryRecordImportVo
.
getBottleCode
());
tLpgGasBottleFiles
.
set
Qr
code
(
tLpgDeliveryRecordImportVo
.
getBottleCode
());
List
<
TLpgGasBottleFiles
>
tLpgGasBottleFiles1
=
tLpgGasBottleFilesMapper
.
selectTLpgGasBottleFilesList
(
tLpgGasBottleFiles
);
List
<
TLpgGasBottleFiles
>
tLpgGasBottleFiles1
=
tLpgGasBottleFilesMapper
.
selectTLpgGasBottleFilesList
(
tLpgGasBottleFiles
);
if
(
tLpgGasBottleFiles1
==
null
||
tLpgGasBottleFiles1
.
size
()
==
0
)
{
if
(
tLpgGasBottleFiles1
==
null
||
tLpgGasBottleFiles1
.
size
()
==
0
)
{
errorNum
++;
errorNum
++;
continue
;
continue
;
}
}
lpgDeliveryRecord
.
setBottleCode
(
tLpgGasBottleFiles1
.
get
(
0
).
get
qR
code
());
lpgDeliveryRecord
.
setBottleCode
(
tLpgGasBottleFiles1
.
get
(
0
).
get
Qr
code
());
// 燃气用户处理
// 燃气用户处理
...
...
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TLpgGasBottleFilesServiceImpl.java
View file @
8d2145db
...
@@ -48,6 +48,16 @@ public class TLpgGasBottleFilesServiceImpl implements ITLpgGasBottleFilesService
...
@@ -48,6 +48,16 @@ public class TLpgGasBottleFilesServiceImpl implements ITLpgGasBottleFilesService
return
tLpgGasBottleFilesMapper
.
selectTLpgGasBottleFilesList
(
tLpgGasBottleFiles
);
return
tLpgGasBottleFilesMapper
.
selectTLpgGasBottleFilesList
(
tLpgGasBottleFiles
);
}
}
/**
* 导出
* @param tLpgGasBottleFiles t
* @return r
*/
@Override
public
List
<
TLpgGasBottleFiles
>
exportTLpgGasBottleFilesList
(
TLpgGasBottleFiles
tLpgGasBottleFiles
)
{
return
tLpgGasBottleFilesMapper
.
exportTLpgGasBottleFilesList
(
tLpgGasBottleFiles
);
}
/**
/**
* 新增液化石油气-气瓶档案
* 新增液化石油气-气瓶档案
*
*
...
@@ -104,12 +114,9 @@ public class TLpgGasBottleFilesServiceImpl implements ITLpgGasBottleFilesService
...
@@ -104,12 +114,9 @@ public class TLpgGasBottleFilesServiceImpl implements ITLpgGasBottleFilesService
* @return r
* @return r
*/
*/
@Override
@Override
public
Map
<
String
,
Object
>
importLpgGasBottleFilesInfo
(
List
<
TLpgGasBottleFiles
>
xmbhList
,
boolean
updateSupport
,
HttpServletResponse
response
)
{
public
void
importLpgGasBottleFilesInfo
(
List
<
TLpgGasBottleFiles
>
xmbhList
,
boolean
updateSupport
,
HttpServletResponse
response
)
{
if
(
xmbhList
.
size
()
>
0
)
{
for
(
TLpgGasBottleFiles
tLpgGasBottleFiles
:
xmbhList
)
{
tLpgGasBottleFilesMapper
.
insertBatch
(
xmbhList
);
System
.
out
.
println
(
tLpgGasBottleFiles
.
getqRcode
());
}
}
return
null
;
}
}
}
}
zh-baseversion-system/src/main/resources/mapper/system/TLpgGasBottleFilesMapper.xml
View file @
8d2145db
...
@@ -16,20 +16,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -16,20 +16,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"pressure"
column=
"f_pressure"
/>
<result
property=
"pressure"
column=
"f_pressure"
/>
<result
property=
"volume"
column=
"f_volume"
/>
<result
property=
"volume"
column=
"f_volume"
/>
<result
property=
"appId"
column=
"f_app_id"
/>
<result
property=
"appId"
column=
"f_app_id"
/>
<result
property=
"q
R
code"
column=
"f_q_rcode"
/>
<result
property=
"q
r
code"
column=
"f_q_rcode"
/>
<result
property=
"buildUser"
column=
"f_build_user"
/>
<result
property=
"buildUser"
column=
"f_build_user"
/>
<result
property=
"optName"
column=
"f_opt_name"
/>
<result
property=
"optName"
column=
"f_opt_name"
/>
<result
property=
"addTime"
column=
"f_add_time"
/>
<result
property=
"addTime"
column=
"f_add_time"
/>
<result
property=
"upTime"
column=
"f_up_time"
/>
<result
property=
"upTime"
column=
"f_up_time"
/>
<result
property=
"state"
column=
"f_state"
/>
<result
property=
"state"
column=
"f_state"
/>
<result
property=
"upOptName"
column=
"f_up_opt_name"
/>
<result
property=
"upOptName"
column=
"f_up_opt_name"
/>
<result
property=
"p
C
hkDate"
column=
"f_p_chk_date"
/>
<result
property=
"p
c
hkDate"
column=
"f_p_chk_date"
/>
<result
property=
"n
C
hkDate"
column=
"f_n_chk_date"
/>
<result
property=
"n
c
hkDate"
column=
"f_n_chk_date"
/>
<result
property=
"productDate"
column=
"f_product_date"
/>
<result
property=
"productDate"
column=
"f_product_date"
/>
<result
property=
"discardDate"
column=
"f_discard_date"
/>
<result
property=
"discardDate"
column=
"f_discard_date"
/>
<result
property=
"safeJudgeDate"
column=
"f_safe_judge_date"
/>
<result
property=
"safeJudgeDate"
column=
"f_safe_judge_date"
/>
<result
property=
"
gP
ressure"
column=
"f_g_pressure"
/>
<result
property=
"
wp
ressure"
column=
"f_g_pressure"
/>
<result
property=
"
wP
ressure"
column=
"f_w_pressure"
/>
<result
property=
"
gp
ressure"
column=
"f_w_pressure"
/>
<result
property=
"selfWeight"
column=
"f_self_weight"
/>
<result
property=
"selfWeight"
column=
"f_self_weight"
/>
<result
property=
"thickness"
column=
"f_thickness"
/>
<result
property=
"thickness"
column=
"f_thickness"
/>
<result
property=
"permitNo"
column=
"f_permit_no"
/>
<result
property=
"permitNo"
column=
"f_permit_no"
/>
...
@@ -61,20 +61,46 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -61,20 +61,46 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
f_opt_name, f_add_time, f_up_time, f_up_opt_name, f_row_version from t_lpg_gas_bottle_files
f_opt_name, f_add_time, f_up_time, f_up_opt_name, f_row_version from t_lpg_gas_bottle_files
</sql>
</sql>
<sql
id=
"exportTLpgGasBottleFilesVo"
>
select f_gas_bottle_files_id, f_reg_code, f_equ_no, f_equ_type, f_medium, f_make_date, f_make_info, f_self_id,f_pressure, f_volume, f_app_id, f_q_rcode,f_build_user,f_p_chk_date, f_n_chk_date, f_product_date, f_discard_date, f_safe_judge_date, f_g_pressure, f_w_pressure, f_self_weight, f_thickness, f_permit_no, f_valve_name, f_pay_image, f_batch_image, f_device_image, f_check_image, f_equ_no_image, f_self_id_image, f_bot_image, f_bot_spec_name, f_bottle_type, f_inspected_times,
f_is_specialized,
f_valve_manu_facturer, f_inspection_label, f_third_party_label, f_hole_code, f_bottle_storage_type,
f_state,
f_opt_name, f_add_time, f_up_time, f_up_opt_name, f_row_version from t_lpg_gas_bottle_files
</sql>
<select
id=
"selectTLpgGasBottleFilesList"
parameterType=
"TLpgGasBottleFiles"
resultMap=
"TLpgGasBottleFilesResult"
>
<select
id=
"selectTLpgGasBottleFilesList"
parameterType=
"TLpgGasBottleFiles"
resultMap=
"TLpgGasBottleFilesResult"
>
<include
refid=
"selectTLpgGasBottleFilesVo"
/>
<include
refid=
"selectTLpgGasBottleFilesVo"
/>
<where>
<where>
<if
test=
"p
ChkDate != null "
>
and f_p_chk_date = #{pC
hkDate}
</if>
<if
test=
"p
chkDate != null "
>
and f_p_chk_date = #{pc
hkDate}
</if>
<if
test=
"n
ChkDate != null "
>
and f_n_chk_date = #{nC
hkDate}
</if>
<if
test=
"n
chkDate != null "
>
and f_n_chk_date = #{nc
hkDate}
</if>
<if
test=
"productDate != null "
>
and f_product_date = #{productDate}
</if>
<if
test=
"productDate != null "
>
and f_product_date = #{productDate}
</if>
<if
test=
"discardDate != null "
>
and f_discard_date = #{discardDate}
</if>
<if
test=
"discardDate != null "
>
and f_discard_date = #{discardDate}
</if>
<if
test=
"safeJudgeDate != null "
>
and f_safe_judge_date = #{safeJudgeDate}
</if>
<if
test=
"safeJudgeDate != null "
>
and f_safe_judge_date = #{safeJudgeDate}
</if>
<if
test=
"g
Pressure != null "
>
and f_g_pressure = #{gP
ressure}
</if>
<if
test=
"g
pressure != null "
>
and f_g_pressure = #{gp
ressure}
</if>
<if
test=
"w
Pressure != null "
>
and f_w_pressure = #{wP
ressure}
</if>
<if
test=
"w
pressure != null "
>
and f_w_pressure = #{wp
ressure}
</if>
<if
test=
"selfWeight != null "
>
and f_self_weight = #{selfWeight}
</if>
<if
test=
"selfWeight != null "
>
and f_self_weight = #{selfWeight}
</if>
<if
test=
"permitNo != null and fPermitNo != ''"
>
and f_permit_no = #{permitNo}
</if>
<if
test=
"permitNo != null and fPermitNo != ''"
>
and f_permit_no = #{permitNo}
</if>
<if
test=
"valveName != null "
>
and f_valve_name like concat('%', #{valveName}, '%')
</if>
<if
test=
"valveName != null "
>
and f_valve_name like concat('%', #{valveName}, '%')
</if>
<if
test=
"qRcode != null and fQRcode != ''"
>
and f_q_rcode like concat('%', #{qRcode}, '%')
</if>
<if
test=
"qrcode != null and qrcode != ''"
>
and f_q_rcode like concat('%', #{qrcode}, '%')
</if>
<if
test=
"state != null "
>
and f_state = #{state}
</if>
</where>
</select>
<select
id=
"exportTLpgGasBottleFilesList"
parameterType=
"TLpgGasBottleFiles"
resultMap=
"TLpgGasBottleFilesResult"
>
<include
refid=
"exportTLpgGasBottleFilesVo"
/>
<where>
<if
test=
"pchkDate != null "
>
and f_p_chk_date = #{pchkDate}
</if>
<if
test=
"nchkDate != null "
>
and f_n_chk_date = #{nchkDate}
</if>
<if
test=
"productDate != null "
>
and f_product_date = #{productDate}
</if>
<if
test=
"discardDate != null "
>
and f_discard_date = #{discardDate}
</if>
<if
test=
"safeJudgeDate != null "
>
and f_safe_judge_date = #{safeJudgeDate}
</if>
<if
test=
"gpressure != null "
>
and f_g_pressure = #{gpressure}
</if>
<if
test=
"wpressure != null "
>
and f_w_pressure = #{wpressure}
</if>
<if
test=
"selfWeight != null "
>
and f_self_weight = #{selfWeight}
</if>
<if
test=
"permitNo != null and fPermitNo != ''"
>
and f_permit_no = #{permitNo}
</if>
<if
test=
"valveName != null "
>
and f_valve_name like concat('%', #{valveName}, '%')
</if>
<if
test=
"qrcode != null and qrcode != ''"
>
and f_q_rcode like concat('%', #{qrcode}, '%')
</if>
<if
test=
"state != null "
>
and f_state = #{state}
</if>
<if
test=
"state != null "
>
and f_state = #{state}
</if>
</where>
</where>
</select>
</select>
...
@@ -90,6 +116,29 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -90,6 +116,29 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include
refid=
"selectTLpgGasBottleFilesVo"
/>
<include
refid=
"selectTLpgGasBottleFilesVo"
/>
where f_gas_bottle_files_id = #{fGasBottleFilesId}
where f_gas_bottle_files_id = #{fGasBottleFilesId}
</select>
</select>
<insert
id=
"insertBatch"
parameterType=
"list"
>
insert into t_lpg_gas_bottle_files (f_reg_code, f_equ_no,f_equ_type,f_medium,f_make_date,f_make_info,
f_self_id,f_pressure,f_volume,f_app_id,f_q_rcode,f_build_user,f_p_chk_date,f_n_chk_date,f_product_date,
f_discard_date,f_safe_judge_date,f_g_pressure,f_w_pressure,f_self_weight,f_thickness,f_permit_no,
f_valve_name,f_bot_spec_name,f_bottle_type,f_inspected_times,f_is_specialized,f_valve_manu_facturer,
f_inspection_label, f_third_party_label,f_hole_code,f_bottle_storage_type,f_state,f_opt_name,f_add_time,
f_up_time,f_up_opt_name,f_row_version)
values
<foreach
collection=
"list"
item=
"item"
index=
"index"
separator=
","
>
(#{item.regCode,jdbcType=VARCHAR}, #{item.equNo}, #{item.equType,jdbcType=VARCHAR},
#{item.medium,jdbcType=VARCHAR}, #{item.makeDate,jdbcType=VARCHAR}, #{item.makeInfo},
#{item.selfId},#{item.pressure},#{item.volume},#{item.appId},
#{item.qrcode},#{item.buildUser},#{item.pchkDate},#{item.nchkDate},#{item.productDate},
#{item.discardDate,jdbcType=VARCHAR}, #{item.safeJudgeDate}, #{item.gpressure,jdbcType=VARCHAR},
#{item.wpressure,jdbcType=VARCHAR}, #{item.selfWeight,jdbcType=VARCHAR}, #{item.thickness},
#{item.permitNo},#{item.valveName},#{item.botSpecName},#{item.bottleType},
#{item.inspectedTimes},#{item.isSpecialized},#{item.valveManuFacturer},#{item.inspectionLabel},#{item.thirdPartyLabel},
#{item.holeCode,jdbcType=VARCHAR}, #{item.bottleStorageType}, #{item.state,jdbcType=VARCHAR},
#{item.optName,jdbcType=VARCHAR}, #{item.addTime}, #{item.upTime},
#{item.upOptName},#{item.rowVersion})
</foreach>
</insert>
<insert
id=
"insertTLpgGasBottleFiles"
parameterType=
"TLpgGasBottleFiles"
useGeneratedKeys=
"true"
keyProperty=
"fGasBottleFilesId"
>
<insert
id=
"insertTLpgGasBottleFiles"
parameterType=
"TLpgGasBottleFiles"
useGeneratedKeys=
"true"
keyProperty=
"fGasBottleFilesId"
>
insert into t_lpg_gas_bottle_files
insert into t_lpg_gas_bottle_files
...
@@ -105,15 +154,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -105,15 +154,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"pressure != null"
>
f_pressure,
</if>
<if
test=
"pressure != null"
>
f_pressure,
</if>
<if
test=
"volume != null"
>
f_volume,
</if>
<if
test=
"volume != null"
>
f_volume,
</if>
<if
test=
"appId != null"
>
f_app_id,
</if>
<if
test=
"appId != null"
>
f_app_id,
</if>
<if
test=
"q
R
code != null"
>
f_q_rcode,
</if>
<if
test=
"q
r
code != null"
>
f_q_rcode,
</if>
<if
test=
"buildUser != null"
>
f_build_user,
</if>
<if
test=
"buildUser != null"
>
f_build_user,
</if>
<if
test=
"p
C
hkDate != null"
>
f_p_chk_date,
</if>
<if
test=
"p
c
hkDate != null"
>
f_p_chk_date,
</if>
<if
test=
"n
C
hkDate != null"
>
f_n_chk_date,
</if>
<if
test=
"n
c
hkDate != null"
>
f_n_chk_date,
</if>
<if
test=
"productDate != null"
>
f_product_date,
</if>
<if
test=
"productDate != null"
>
f_product_date,
</if>
<if
test=
"discardDate != null"
>
f_discard_date,
</if>
<if
test=
"discardDate != null"
>
f_discard_date,
</if>
<if
test=
"safeJudgeDate != null"
>
f_safe_judge_date,
</if>
<if
test=
"safeJudgeDate != null"
>
f_safe_judge_date,
</if>
<if
test=
"g
P
ressure != null"
>
f_g_pressure,
</if>
<if
test=
"g
p
ressure != null"
>
f_g_pressure,
</if>
<if
test=
"w
P
ressure != null"
>
f_w_pressure,
</if>
<if
test=
"w
p
ressure != null"
>
f_w_pressure,
</if>
<if
test=
"selfWeight != null"
>
f_self_weight,
</if>
<if
test=
"selfWeight != null"
>
f_self_weight,
</if>
<if
test=
"thickness != null"
>
f_thickness,
</if>
<if
test=
"thickness != null"
>
f_thickness,
</if>
<if
test=
"permitNo != null"
>
f_permit_no,
</if>
<if
test=
"permitNo != null"
>
f_permit_no,
</if>
...
@@ -153,15 +202,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -153,15 +202,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"pressure != null"
>
#{pressure},
</if>
<if
test=
"pressure != null"
>
#{pressure},
</if>
<if
test=
"volume != null"
>
#{volume},
</if>
<if
test=
"volume != null"
>
#{volume},
</if>
<if
test=
"appId != null"
>
#{appId},
</if>
<if
test=
"appId != null"
>
#{appId},
</if>
<if
test=
"q
Rcode != null"
>
#{qR
code},
</if>
<if
test=
"q
rcode != null"
>
#{qr
code},
</if>
<if
test=
"buildUser != null"
>
#{buildUser},
</if>
<if
test=
"buildUser != null"
>
#{buildUser},
</if>
<if
test=
"p
ChkDate != null"
>
#{pC
hkDate},
</if>
<if
test=
"p
chkDate != null"
>
#{pc
hkDate},
</if>
<if
test=
"n
ChkDate != null"
>
#{nC
hkDate},
</if>
<if
test=
"n
chkDate != null"
>
#{nc
hkDate},
</if>
<if
test=
"productDate != null"
>
#{productDate},
</if>
<if
test=
"productDate != null"
>
#{productDate},
</if>
<if
test=
"discardDate != null"
>
#{discardDate},
</if>
<if
test=
"discardDate != null"
>
#{discardDate},
</if>
<if
test=
"safeJudgeDate != null"
>
#{safeJudgeDate},
</if>
<if
test=
"safeJudgeDate != null"
>
#{safeJudgeDate},
</if>
<if
test=
"g
Pressure != null"
>
#{gP
ressure},
</if>
<if
test=
"g
pressure != null"
>
#{gp
ressure},
</if>
<if
test=
"w
Pressure != null"
>
#{wP
ressure},
</if>
<if
test=
"w
pressure != null"
>
#{wp
ressure},
</if>
<if
test=
"selfWeight != null"
>
#{selfWeight},
</if>
<if
test=
"selfWeight != null"
>
#{selfWeight},
</if>
<if
test=
"fThickness != null"
>
#{fThickness},
</if>
<if
test=
"fThickness != null"
>
#{fThickness},
</if>
<if
test=
"permitNo != null"
>
#{permitNo},
</if>
<if
test=
"permitNo != null"
>
#{permitNo},
</if>
...
@@ -206,15 +255,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -206,15 +255,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"pressure != null"
>
f_pressure = #{pressure},
</if>
<if
test=
"pressure != null"
>
f_pressure = #{pressure},
</if>
<if
test=
"volume != null"
>
f_volume = #{volume},
</if>
<if
test=
"volume != null"
>
f_volume = #{volume},
</if>
<if
test=
"appId != null"
>
f_app_id = #{appId},
</if>
<if
test=
"appId != null"
>
f_app_id = #{appId},
</if>
<if
test=
"q
Rcode != null"
>
f_q_rcode = #{qR
code},
</if>
<if
test=
"q
rcode != null"
>
f_q_rcode = #{qr
code},
</if>
<if
test=
"buildUser != null"
>
f_build_user = #{buildUser},
</if>
<if
test=
"buildUser != null"
>
f_build_user = #{buildUser},
</if>
<if
test=
"p
ChkDate != null"
>
f_p_chk_date = #{pC
hkDate},
</if>
<if
test=
"p
chkDate != null"
>
f_p_chk_date = #{pc
hkDate},
</if>
<if
test=
"n
ChkDate != null"
>
f_n_chk_date = #{nC
hkDate},
</if>
<if
test=
"n
chkDate != null"
>
f_n_chk_date = #{nc
hkDate},
</if>
<if
test=
"productDate != null"
>
f_product_date = #{productDate},
</if>
<if
test=
"productDate != null"
>
f_product_date = #{productDate},
</if>
<if
test=
"discardDate != null"
>
f_discard_date = #{discardDate},
</if>
<if
test=
"discardDate != null"
>
f_discard_date = #{discardDate},
</if>
<if
test=
"safeJudgeDate != null"
>
f_safe_judge_date = #{safeJudgeDate},
</if>
<if
test=
"safeJudgeDate != null"
>
f_safe_judge_date = #{safeJudgeDate},
</if>
<if
test=
"g
Pressure != null"
>
f_g_pressure = #{gP
ressure},
</if>
<if
test=
"g
pressure != null"
>
f_g_pressure = #{gp
ressure},
</if>
<if
test=
"w
Pressure != null"
>
f_w_pressure = #{wP
ressure},
</if>
<if
test=
"w
pressure != null"
>
f_w_pressure = #{wp
ressure},
</if>
<if
test=
"selfWeight != null"
>
f_self_weight = #{selfWeight},
</if>
<if
test=
"selfWeight != null"
>
f_self_weight = #{selfWeight},
</if>
<if
test=
"thickness != null"
>
f_thickness = #{thickness},
</if>
<if
test=
"thickness != null"
>
f_thickness = #{thickness},
</if>
<if
test=
"permitNo != null"
>
f_permit_no = #{permitNo},
</if>
<if
test=
"permitNo != null"
>
f_permit_no = #{permitNo},
</if>
...
...
zh-baseversion-web/src/views/lpgRegulation/gasbottlefiles/components/indexInfo.vue
View file @
8d2145db
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"生产(制造)单位"
>
<el-form-item
label=
"生产(制造)单位"
>
<span
v-if=
"detailInfo.
fMakeInfo"
>
{{
detailInfo
.
fM
akeInfo
}}
</span>
<span
v-if=
"detailInfo.
makeInfo"
>
{{
detailInfo
.
m
akeInfo
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"气瓶条码"
>
<el-form-item
label=
"气瓶条码"
>
<span
v-if=
"detailInfo.
fQRcode"
>
{{
detailInfo
.
fQR
code
}}
</span>
<span
v-if=
"detailInfo.
qrcode"
>
{{
detailInfo
.
qr
code
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -23,137 +23,137 @@
...
@@ -23,137 +23,137 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"产品编号"
>
<el-form-item
label=
"产品编号"
>
<span
v-if=
"detailInfo.
fEquNo"
>
{{
detailInfo
.
fE
quNo
}}
</span>
<span
v-if=
"detailInfo.
equNo"
>
{{
detailInfo
.
e
quNo
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"设备类型"
>
<el-form-item
label=
"设备类型"
>
<span
v-if=
"detailInfo.
fEquType"
>
{{
detailInfo
.
fE
quType
}}
</span>
<span
v-if=
"detailInfo.
equType"
>
{{
detailInfo
.
e
quType
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"充装介质"
>
<el-form-item
label=
"充装介质"
>
<span
v-if=
"detailInfo.
fMedium"
>
{{
detailInfo
.
fM
edium
}}
</span>
<span
v-if=
"detailInfo.
medium"
>
{{
detailInfo
.
m
edium
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"生产日期"
>
<el-form-item
label=
"生产日期"
>
<span
v-if=
"detailInfo.
fProductDate"
>
{{
detailInfo
.
fP
roductDate
}}
</span>
<span
v-if=
"detailInfo.
productDate"
>
{{
detailInfo
.
p
roductDate
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"登记证号"
>
<el-form-item
label=
"登记证号"
>
<span
v-if=
"detailInfo.
fRegCode"
>
{{
detailInfo
.
fR
egCode
}}
</span>
<span
v-if=
"detailInfo.
regCode"
>
{{
detailInfo
.
r
egCode
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"单位内编号"
>
<el-form-item
label=
"单位内编号"
>
<span
v-if=
"detailInfo.
fSelfId"
>
{{
detailInfo
.
fS
elfId
}}
</span>
<span
v-if=
"detailInfo.
selfId"
>
{{
detailInfo
.
s
elfId
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"公称工作压力(MPa)"
>
<el-form-item
label=
"公称工作压力(MPa)"
>
<span
v-if=
"detailInfo.
fPressure"
>
{{
detailInfo
.
fP
ressure
}}
</span>
<span
v-if=
"detailInfo.
pressure"
>
{{
detailInfo
.
p
ressure
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"容积(L)"
>
<el-form-item
label=
"容积(L)"
>
<span
v-if=
"detailInfo.
fVolume"
>
{{
detailInfo
.
fV
olume
}}
</span>
<span
v-if=
"detailInfo.
volume"
>
{{
detailInfo
.
v
olume
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"使用单位"
>
<el-form-item
label=
"使用单位"
>
<span
v-if=
"detailInfo.
fBuildUser"
>
{{
detailInfo
.
fB
uildUser
}}
</span>
<span
v-if=
"detailInfo.
buildUser"
>
{{
detailInfo
.
b
uildUser
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"上检日期"
>
<el-form-item
label=
"上检日期"
>
<span
v-if=
"detailInfo.
fPChkDate"
>
{{
detailInfo
.
fPC
hkDate
}}
</span>
<span
v-if=
"detailInfo.
pchkDate"
>
{{
detailInfo
.
pc
hkDate
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"下检日期"
>
<el-form-item
label=
"下检日期"
>
<span
v-if=
"detailInfo.
fNChkDate"
>
{{
detailInfo
.
fNC
hkDate
}}
</span>
<span
v-if=
"detailInfo.
nchkDate"
>
{{
detailInfo
.
nc
hkDate
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"生产日期"
>
<el-form-item
label=
"生产日期"
>
<span
v-if=
"detailInfo.
fProductDate"
>
{{
detailInfo
.
fP
roductDate
}}
</span>
<span
v-if=
"detailInfo.
productDate"
>
{{
detailInfo
.
p
roductDate
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"报废日期"
>
<el-form-item
label=
"报废日期"
>
<span
v-if=
"detailInfo.
fDiscardDate"
>
{{
detailInfo
.
fD
iscardDate
}}
</span>
<span
v-if=
"detailInfo.
discardDate"
>
{{
detailInfo
.
d
iscardDate
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"安全评定日期"
>
<el-form-item
label=
"安全评定日期"
>
<span
v-if=
"detailInfo.
fSafeJudgeDate"
>
{{
detailInfo
.
fS
afeJudgeDate
}}
</span>
<span
v-if=
"detailInfo.
safeJudgeDate"
>
{{
detailInfo
.
s
afeJudgeDate
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"公称压力"
>
<el-form-item
label=
"公称压力"
>
<span
v-if=
"detailInfo.
fGPressure"
>
{{
detailInfo
.
fGP
ressure
}}
</span>
<span
v-if=
"detailInfo.
gpressure"
>
{{
detailInfo
.
gp
ressure
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"水试验压力"
>
<el-form-item
label=
"水试验压力"
>
<span
v-if=
"detailInfo.
fWPressure"
>
{{
detailInfo
.
fWP
ressure
}}
</span>
<span
v-if=
"detailInfo.
wpressure"
>
{{
detailInfo
.
wp
ressure
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"标准重量"
>
<el-form-item
label=
"标准重量"
>
<span
v-if=
"detailInfo.
fSelfWeight"
>
{{
detailInfo
.
fS
elfWeight
}}
</span>
<span
v-if=
"detailInfo.
selfWeight"
>
{{
detailInfo
.
s
elfWeight
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"壁厚"
>
<el-form-item
label=
"壁厚"
>
<span
v-if=
"detailInfo.
fThickness"
>
{{
detailInfo
.
fT
hickness
}}
</span>
<span
v-if=
"detailInfo.
thickness"
>
{{
detailInfo
.
t
hickness
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"气瓶许可证号"
>
<el-form-item
label=
"气瓶许可证号"
>
<span
v-if=
"detailInfo.
fPermitNo"
>
{{
detailInfo
.
fP
ermitNo
}}
</span>
<span
v-if=
"detailInfo.
permitNo"
>
{{
detailInfo
.
p
ermitNo
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"阀类型名称"
>
<el-form-item
label=
"阀类型名称"
>
<span
v-if=
"detailInfo.
fValveName"
>
{{
detailInfo
.
fV
alveName
}}
</span>
<span
v-if=
"detailInfo.
valveName"
>
{{
detailInfo
.
v
alveName
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"钢瓶交付文件照片"
>
<el-form-item
label=
"钢瓶交付文件照片"
>
<el-image
<el-image
:src=
"detailInfo.
fP
ayImage"
:src=
"detailInfo.
p
ayImage"
:preview-src-list=
"[detailInfo.
fP
ayImage]"
:preview-src-list=
"[detailInfo.
p
ayImage]"
v-if=
"detailInfo.
fPayImage != '' && detailInfo.fP
ayImage != null"
v-if=
"detailInfo.
payImage != '' && detailInfo.p
ayImage != null"
:z-index=
5000
:z-index=
5000
style=
"width: 200px;height: 200px;"
style=
"width: 200px;height: 200px;"
></el-image>
></el-image>
...
@@ -163,9 +163,9 @@
...
@@ -163,9 +163,9 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"检验质量证明书照片"
>
<el-form-item
label=
"检验质量证明书照片"
>
<el-image
<el-image
:src=
"detailInfo.
fB
atchImage"
:src=
"detailInfo.
b
atchImage"
:preview-src-list=
"[detailInfo.
fB
atchImage]"
:preview-src-list=
"[detailInfo.
b
atchImage]"
v-if=
"detailInfo.
fBatchImage != '' && detailInfo.fB
atchImage != null"
v-if=
"detailInfo.
batchImage != '' && detailInfo.b
atchImage != null"
:z-index=
5000
:z-index=
5000
style=
"width: 200px;height: 200px;"
style=
"width: 200px;height: 200px;"
></el-image>
></el-image>
...
@@ -176,9 +176,9 @@
...
@@ -176,9 +176,9 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"制造监督检验证书照片"
>
<el-form-item
label=
"制造监督检验证书照片"
>
<el-image
<el-image
:src=
"detailInfo.
fD
eviceImage"
:src=
"detailInfo.
d
eviceImage"
:preview-src-list=
"[detailInfo.
fD
eviceImage]"
:preview-src-list=
"[detailInfo.
d
eviceImage]"
v-if=
"detailInfo.
fDeviceImage != '' && detailInfo.fD
eviceImage != null"
v-if=
"detailInfo.
deviceImage != '' && detailInfo.d
eviceImage != null"
:z-index=
5000
:z-index=
5000
style=
"width: 200px;height: 200px;"
style=
"width: 200px;height: 200px;"
></el-image>
></el-image>
...
@@ -188,9 +188,9 @@
...
@@ -188,9 +188,9 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"检验报告照片"
>
<el-form-item
label=
"检验报告照片"
>
<el-image
<el-image
:src=
"detailInfo.
fC
heckImage"
:src=
"detailInfo.
c
heckImage"
:preview-src-list=
"[detailInfo.
fC
heckImage]"
:preview-src-list=
"[detailInfo.
c
heckImage]"
v-if=
"detailInfo.
fCheckImage != '' && detailInfo.fC
heckImage != null"
v-if=
"detailInfo.
checkImage != '' && detailInfo.c
heckImage != null"
:z-index=
5000
:z-index=
5000
style=
"width: 200px;height: 200px;"
style=
"width: 200px;height: 200px;"
></el-image>
></el-image>
...
@@ -200,9 +200,9 @@
...
@@ -200,9 +200,9 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"产品编号照片"
>
<el-form-item
label=
"产品编号照片"
>
<el-image
<el-image
:src=
"detailInfo.
fE
quNoImage"
:src=
"detailInfo.
e
quNoImage"
:preview-src-list=
"[detailInfo.
fE
quNoImage]"
:preview-src-list=
"[detailInfo.
e
quNoImage]"
v-if=
"detailInfo.
fEquNoImage != '' && detailInfo.fE
quNoImage != null"
v-if=
"detailInfo.
equNoImage != '' && detailInfo.e
quNoImage != null"
:z-index=
5000
:z-index=
5000
style=
"width: 200px;height: 200px;"
style=
"width: 200px;height: 200px;"
></el-image>
></el-image>
...
@@ -212,9 +212,9 @@
...
@@ -212,9 +212,9 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"单位内编号照片"
>
<el-form-item
label=
"单位内编号照片"
>
<el-image
<el-image
:src=
"detailInfo.
fS
elfIdImage"
:src=
"detailInfo.
s
elfIdImage"
:preview-src-list=
"[detailInfo.
fS
elfIdImage]"
:preview-src-list=
"[detailInfo.
s
elfIdImage]"
v-if=
"detailInfo.
fSelfIdImage != '' && detailInfo.fS
elfIdImage != null"
v-if=
"detailInfo.
selfIdImage != '' && detailInfo.s
elfIdImage != null"
:z-index=
5000
:z-index=
5000
style=
"width: 200px;height: 200px;"
style=
"width: 200px;height: 200px;"
></el-image>
></el-image>
...
@@ -224,9 +224,9 @@
...
@@ -224,9 +224,9 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"钢瓶信息照片"
>
<el-form-item
label=
"钢瓶信息照片"
>
<el-image
<el-image
:src=
"detailInfo.
fB
otImage"
:src=
"detailInfo.
b
otImage"
:preview-src-list=
"[detailInfo.
fB
otImage]"
:preview-src-list=
"[detailInfo.
b
otImage]"
v-if=
"detailInfo.
fBotImage != '' && detailInfo.fB
otImage != null"
v-if=
"detailInfo.
botImage != '' && detailInfo.b
otImage != null"
:z-index=
5000
:z-index=
5000
style=
"width: 200px;height: 200px;"
style=
"width: 200px;height: 200px;"
></el-image>
></el-image>
...
@@ -235,64 +235,64 @@
...
@@ -235,64 +235,64 @@
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"钢瓶规格名称"
>
<el-form-item
label=
"钢瓶规格名称"
>
<span
v-if=
"detailInfo.
fBotSpecName"
>
{{
detailInfo
.
fB
otSpecName
}}
</span>
<span
v-if=
"detailInfo.
botSpecName"
>
{{
detailInfo
.
b
otSpecName
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"钢瓶型号"
>
<el-form-item
label=
"钢瓶型号"
>
<span
v-if=
"detailInfo.
fBottleType"
>
{{
detailInfo
.
fB
ottleType
}}
</span>
<span
v-if=
"detailInfo.
bottleType"
>
{{
detailInfo
.
b
ottleType
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"已检验次数"
>
<el-form-item
label=
"已检验次数"
>
<span
v-if=
"detailInfo.
fInspectedTimes"
>
{{
detailInfo
.
fI
nspectedTimes
}}
</span>
<span
v-if=
"detailInfo.
inspectedTimes"
>
{{
detailInfo
.
i
nspectedTimes
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<
el-col
:span=
"12"
>
<
!--
<el-col
:span=
"12"
>
2024-09-13 wh 去掉,感觉监管不需要
<el-form-item
label=
"是否专用"
>
<el-form-item
label=
"是否专用"
>
<span
v-if=
"detailInfo.
fIsSpecialized"
>
{{
detailInfo
.
fI
sSpecialized
}}
</span>
<span
v-if=
"detailInfo.
isSpecialized"
>
{{
detailInfo
.
i
sSpecialized
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
-->
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"阀厂家"
>
<el-form-item
label=
"阀厂家"
>
<span
v-if=
"detailInfo.
fValveManuFacturer"
>
{{
detailInfo
.
fV
alveManuFacturer
}}
</span>
<span
v-if=
"detailInfo.
valveManuFacturer"
>
{{
detailInfo
.
v
alveManuFacturer
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"检验标牌"
>
<el-form-item
label=
"检验标牌"
>
<span
v-if=
"detailInfo.
fInspectionLabel"
>
{{
detailInfo
.
fI
nspectionLabel
}}
</span>
<span
v-if=
"detailInfo.
inspectionLabel"
>
{{
detailInfo
.
i
nspectionLabel
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"第三方标签"
>
<el-form-item
label=
"第三方标签"
>
<span
v-if=
"detailInfo.
fThirdPartyLabel"
>
{{
detailInfo
.
fT
hirdPartyLabel
}}
</span>
<span
v-if=
"detailInfo.
thirdPartyLabel"
>
{{
detailInfo
.
t
hirdPartyLabel
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"孔洞码"
>
<el-form-item
label=
"孔洞码"
>
<span
v-if=
"detailInfo.
fHoleCode"
>
{{
detailInfo
.
fH
oleCode
}}
</span>
<span
v-if=
"detailInfo.
holeCode"
>
{{
detailInfo
.
h
oleCode
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"存储类型"
>
<el-form-item
label=
"存储类型"
>
<span
v-if=
"detailInfo.
fBottleStorageType"
>
{{
detailInfo
.
fB
ottleStorageType
}}
</span>
<span
v-if=
"detailInfo.
bottleStorageType"
>
{{
detailInfo
.
b
ottleStorageType
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<
el-col
:span=
"12"
>
<
!--
<el-col
:span=
"12"
>
2024-09-13 wh 去掉,感觉监管不需要
<el-form-item
label=
"钢瓶状态"
>
<el-form-item
label=
"钢瓶状态"
>
<span
v-if=
"detailInfo.
fState"
>
{{
detailInfo
.
fS
tate
}}
</span>
<span
v-if=
"detailInfo.
state"
>
{{
detailInfo
.
s
tate
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
-->
</el-row>
</el-row>
</el-form>
</el-form>
</el-dialog>
</el-dialog>
...
...
zh-baseversion-web/src/views/lpgRegulation/gasbottlefiles/index.vue
View file @
8d2145db
...
@@ -10,16 +10,16 @@
...
@@ -10,16 +10,16 @@
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"气瓶条码"
prop=
"q
R
code"
>
<el-form-item
label=
"气瓶条码"
prop=
"q
r
code"
>
<el-input
<el-input
v-model=
"queryParams.q
R
code"
v-model=
"queryParams.q
r
code"
placeholder=
"请输入气瓶条码"
placeholder=
"请输入气瓶条码"
clearable
clearable
size=
"small"
size=
"small"
/>
/>
</el-form-item>
</el-form-item>
<
el-form-item
label=
"钢瓶状态"
prop=
"fState"
>
<
!--
<el-form-item
label=
"钢瓶状态"
prop=
"fState"
>
2024-09-13 wh 去掉,感觉监管不需要
<el-select
v-model=
"queryParams.state"
placeholder=
"请选择钢瓶状态"
clearable
>
<el-select
v-model=
"queryParams.state"
placeholder=
"请选择钢瓶状态"
clearable
>
<el-option
<el-option
v-for=
"item in stateOptions"
v-for=
"item in stateOptions"
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
:value=
"item.value"
>
:value=
"item.value"
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
-->
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
...
@@ -64,17 +64,17 @@
...
@@ -64,17 +64,17 @@
<el-table
v-loading=
"loading"
:data=
"filesList"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
:data=
"filesList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"生产(制造)单位"
align=
"center"
prop=
"makeInfo"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"生产(制造)单位"
align=
"center"
prop=
"makeInfo"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"气瓶条码"
align=
"center"
prop=
"q
R
code"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"气瓶条码"
align=
"center"
prop=
"q
r
code"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"钢瓶规格名称"
align=
"center"
prop=
"botSpecName"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"钢瓶规格名称"
align=
"center"
prop=
"botSpecName"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"钢瓶型号"
align=
"center"
prop=
"bottleType"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"钢瓶型号"
align=
"center"
prop=
"bottleType"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"上检日期"
align=
"center"
prop=
"p
C
hkDate"
>
<el-table-column
label=
"上检日期"
align=
"center"
prop=
"p
c
hkDate"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
p
C
hkDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<span>
{{
parseTime
(
scope
.
row
.
p
c
hkDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"下检日期"
align
=
"center"
prop
=
"n
C
hkDate"
>
<
el
-
table
-
column
label
=
"下检日期"
align
=
"center"
prop
=
"n
c
hkDate"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
span
>
{{
parseTime
(
scope
.
row
.
n
C
hkDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
span
>
{{
parseTime
(
scope
.
row
.
n
c
hkDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"生产日期"
align
=
"center"
prop
=
"productDate"
>
<
el
-
table
-
column
label
=
"生产日期"
align
=
"center"
prop
=
"productDate"
>
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"已检验次数"
align
=
"center"
prop
=
"inspectedTimes"
/>
<
el
-
table
-
column
label
=
"已检验次数"
align
=
"center"
prop
=
"inspectedTimes"
/>
<
el
-
table
-
column
label
=
"钢瓶状态"
align
=
"center"
prop
=
"state"
/
>
<
!--
<
el
-
table
-
column
label
=
"钢瓶状态"
align
=
"center"
prop
=
"state"
/>
2024
-
09
-
13
wh
去掉,感觉监管不需要
--
>
<
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"
>
<
el
-
button
<
el
-
button
...
@@ -217,12 +217,12 @@ export default {
...
@@ -217,12 +217,12 @@ export default {
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
,
cChkDate
:
null
,
cChkDate
:
null
,
n
C
hkDate
:
null
,
n
c
hkDate
:
null
,
productDate
:
null
,
productDate
:
null
,
discardDate
:
null
,
discardDate
:
null
,
safeJudgeDate
:
null
,
safeJudgeDate
:
null
,
g
P
ressure
:
null
,
g
p
ressure
:
null
,
w
P
ressure
:
null
,
w
p
ressure
:
null
,
selfWeight
:
null
,
selfWeight
:
null
,
permitNo
:
null
,
permitNo
:
null
,
valveName
:
null
,
valveName
:
null
,
...
@@ -263,15 +263,7 @@ export default {
...
@@ -263,15 +263,7 @@ export default {
this
.
upload
.
open
=
false
;
this
.
upload
.
open
=
false
;
this
.
upload
.
isUploading
=
false
;
this
.
upload
.
isUploading
=
false
;
this
.
$refs
.
upload
.
clearFiles
();
this
.
$refs
.
upload
.
clearFiles
();
if
(
response
.
data
!=
null
)
{
if
(
response
.
data
.
errorMsg
!=
null
&&
response
.
data
.
errorMsg
!==
""
)
{
this
.
$alert
(
"<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>"
+
response
.
data
.
errorMsg
+
"</div>"
,
"导入结果"
,
{
dangerouslyUseHTMLString
:
true
}
);
}
else
{
this
.
$alert
(
"<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>"
+
"成功:"
+
response
.
data
.
successNum
+
"条,失败:"
+
response
.
data
.
errorNum
+
"条"
+
"</div>"
,
"导入结果"
,
{
dangerouslyUseHTMLString
:
true
}
);
}
}
else
{
this
.
$alert
(
"<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>"
+
response
.
msg
+
"</div>"
,
"导入结果"
,
{
dangerouslyUseHTMLString
:
true
}
);
this
.
$alert
(
"<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>"
+
response
.
msg
+
"</div>"
,
"导入结果"
,
{
dangerouslyUseHTMLString
:
true
}
);
}
this
.
getList
();
this
.
getList
();
this
.
$showLoading
.
hide
();
this
.
$showLoading
.
hide
();
}
,
}
,
...
@@ -352,7 +344,7 @@ export default {
...
@@ -352,7 +344,7 @@ export default {
sbCode
:
null
,
sbCode
:
null
,
cardRecId
:
null
,
cardRecId
:
null
,
appId
:
null
,
appId
:
null
,
q
R
code
:
null
,
q
r
code
:
null
,
cardSendMan
:
null
,
cardSendMan
:
null
,
cardSendDeptCode
:
null
,
cardSendDeptCode
:
null
,
cardSendDeptName
:
null
,
cardSendDeptName
:
null
,
...
@@ -362,13 +354,13 @@ export default {
...
@@ -362,13 +354,13 @@ export default {
bak0
:
null
,
bak0
:
null
,
bak1
:
null
,
bak1
:
null
,
bak2
:
null
,
bak2
:
null
,
p
C
hkDate
:
null
,
p
c
hkDate
:
null
,
n
C
hkDate
:
null
,
n
c
hkDate
:
null
,
productDate
:
null
,
productDate
:
null
,
discardDate
:
null
,
discardDate
:
null
,
safeJudgeDate
:
null
,
safeJudgeDate
:
null
,
g
P
ressure
:
null
,
g
p
ressure
:
null
,
w
P
ressure
:
null
,
w
p
ressure
:
null
,
selfWeight
:
null
,
selfWeight
:
null
,
thickness
:
null
,
thickness
:
null
,
permitNo
:
null
,
permitNo
:
null
,
...
...
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