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
Expand all
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
;
import
java.util.List
;
import
java.util.Map
;
import
com.zehong.system.domain.TLpgAirChargeFiles
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
...
...
@@ -56,8 +53,8 @@ public class TLpgGasBottleFilesController extends BaseController
@GetMapping
(
"/export"
)
public
AjaxResult
export
(
TLpgGasBottleFiles
tLpgGasBottleFiles
)
{
List
<
TLpgGasBottleFiles
>
list
=
tLpgGasBottleFilesService
.
selec
tTLpgGasBottleFilesList
(
tLpgGasBottleFiles
);
ExcelUtil
<
TLpgGasBottleFiles
>
util
=
new
ExcelUtil
<
TLpgGasBottleFiles
>(
TLpgGasBottleFiles
.
class
);
List
<
TLpgGasBottleFiles
>
list
=
tLpgGasBottleFilesService
.
expor
tTLpgGasBottleFilesList
(
tLpgGasBottleFiles
);
ExcelUtil
<
TLpgGasBottleFiles
>
util
=
new
ExcelUtil
<>(
TLpgGasBottleFiles
.
class
);
return
util
.
exportExcel
(
list
,
"液化石油气-气瓶档案数据"
);
}
...
...
@@ -124,8 +121,8 @@ public class TLpgGasBottleFilesController extends BaseController
ExcelUtil
<
TLpgGasBottleFiles
>
util
=
new
ExcelUtil
<>(
TLpgGasBottleFiles
.
class
);
List
<
TLpgGasBottleFiles
>
XmbhList
=
util
.
importExcel
(
file
.
getInputStream
());
Map
<
String
,
Object
>
map
=
tLpgGasBottleFilesService
.
importLpgGasBottleFilesInfo
(
XmbhList
,
updateSupport
,
response
);
return
AjaxResult
.
success
(
map
);
tLpgGasBottleFilesService
.
importLpgGasBottleFilesInfo
(
XmbhList
,
updateSupport
,
response
);
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 {
tLpgGasBottleFiles
.
setVolume
(
new
BigDecimal
(
0
));
}
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
.
setAddTime
(
jsonObject
.
getDate
(
"addtime"
));
tLpgGasBottleFiles
.
setOptName
(
jsonObject
.
getString
(
"optName"
));
tLpgGasBottleFiles
.
setUpTime
(
jsonObject
.
getDate
(
"uptime"
));
tLpgGasBottleFiles
.
setState
(
jsonObject
.
getString
(
"state"
));
tLpgGasBottleFiles
.
setUpOptName
(
jsonObject
.
getString
(
"upOptName"
));
tLpgGasBottleFiles
.
set
pC
hkDate
(
jsonObject
.
getDate
(
"pChkDate"
));
tLpgGasBottleFiles
.
set
nC
hkDate
(
jsonObject
.
getDate
(
"nChkDate"
));
tLpgGasBottleFiles
.
set
Pc
hkDate
(
jsonObject
.
getDate
(
"pChkDate"
));
tLpgGasBottleFiles
.
set
Nc
hkDate
(
jsonObject
.
getDate
(
"nChkDate"
));
tLpgGasBottleFiles
.
setProductDate
(
jsonObject
.
getDate
(
"productDate"
));
tLpgGasBottleFiles
.
setDiscardDate
(
jsonObject
.
getDate
(
"discardDate"
));
tLpgGasBottleFiles
.
setSafeJudgeDate
(
jsonObject
.
getDate
(
"safeJudgeDate"
));
String
gpressure
=
jsonObject
.
getString
(
"gpressure"
);
if
(
gpressure
!=
null
&&
!
gpressure
.
isEmpty
())
{
tLpgGasBottleFiles
.
set
gP
ressure
(
new
BigDecimal
(
gpressure
));
tLpgGasBottleFiles
.
set
Gp
ressure
(
new
BigDecimal
(
gpressure
));
}
else
{
tLpgGasBottleFiles
.
set
gP
ressure
(
new
BigDecimal
(
0
));
tLpgGasBottleFiles
.
set
Gp
ressure
(
new
BigDecimal
(
0
));
}
String
wpressure
=
jsonObject
.
getString
(
"wpressure"
);
if
(
wpressure
!=
null
&&
!
wpressure
.
isEmpty
())
{
tLpgGasBottleFiles
.
set
wP
ressure
(
new
BigDecimal
(
wpressure
));
tLpgGasBottleFiles
.
set
Wp
ressure
(
new
BigDecimal
(
wpressure
));
}
else
{
tLpgGasBottleFiles
.
set
wP
ressure
(
new
BigDecimal
(
0
));
tLpgGasBottleFiles
.
set
Wp
ressure
(
new
BigDecimal
(
0
));
}
String
selfWeight
=
jsonObject
.
getString
(
"selfWeight"
);
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;
import
java.math.BigDecimal
;
import
java.util.Date
;
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.core.domain.BaseEntity
;
...
...
@@ -27,7 +25,7 @@ public class TLpgGasBottleFiles extends BaseEntity
/** 气瓶条码 */
@Excel
(
name
=
"气瓶条码"
,
width
=
30
)
private
String
q
R
code
;
private
String
q
r
code
;
/** 登记证号 */
@Excel
(
name
=
"登记证号"
,
width
=
30
)
...
...
@@ -80,7 +78,7 @@ public class TLpgGasBottleFiles extends BaseEntity
private
Date
upTime
;
/** 状态1 新增、2 修改、-1、删除 (默认1) 3.注销 */
@Excel
(
name
=
"气瓶状态 "
,
readConverterExp
=
"1=新增,2=修改,-1=删除"
)
//@Excel(name = "气瓶状态 ", readConverterExp = "1=新增,2=修改,-1=删除") 2024-09-13 wh 去掉,感觉监管不需要
private
String
state
;
/** 修改人姓名 */
...
...
@@ -89,12 +87,12 @@ public class TLpgGasBottleFiles extends BaseEntity
/** 上检日期 */
@JsonFormat
(
pattern
=
"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"
)
@Excel
(
name
=
"下检日期"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
n
C
hkDate
;
private
Date
n
c
hkDate
;
/** 生产日期 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
...
...
@@ -113,11 +111,11 @@ public class TLpgGasBottleFiles extends BaseEntity
/** 公称压力Mpa */
@Excel
(
name
=
"公称压力/Mpa"
)
private
BigDecimal
g
P
ressure
;
private
BigDecimal
g
p
ressure
;
/** 水试验压力Mpa */
@Excel
(
name
=
"水试验压力/Mpa"
)
private
BigDecimal
w
P
ressure
;
private
BigDecimal
w
p
ressure
;
/** 标准重量KG */
@Excel
(
name
=
"标准重量/KG"
)
...
...
@@ -176,7 +174,7 @@ public class TLpgGasBottleFiles extends BaseEntity
private
Long
inspectedTimes
;
/** 是否专用(1:专用 2:托管) */
@Excel
(
name
=
"是否专用"
)
//@Excel(name = "是否专用") 2024-09-13 wh 去掉,感觉监管不需要
private
String
isSpecialized
;
/** 阀厂家 */
...
...
@@ -216,15 +214,6 @@ public class TLpgGasBottleFiles extends BaseEntity
public
void
setMakeInfo
(
String
makeInfo
)
{
this
.
makeInfo
=
makeInfo
;
}
public
String
getqRcode
()
{
return
qRcode
;
}
public
void
setqRcode
(
String
qRcode
)
{
this
.
qRcode
=
qRcode
;
}
public
String
getRegCode
()
{
return
regCode
;
}
...
...
@@ -345,22 +334,6 @@ public class TLpgGasBottleFiles extends BaseEntity
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
()
{
return
productDate
;
}
...
...
@@ -385,22 +358,6 @@ public class TLpgGasBottleFiles extends BaseEntity
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
()
{
return
selfWeight
;
}
...
...
@@ -569,12 +526,52 @@ public class TLpgGasBottleFiles extends BaseEntity
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
public
String
toString
()
{
return
"TLpgGasBottleFiles{"
+
"gasBottleFilesId="
+
gasBottleFilesId
+
", makeInfo='"
+
makeInfo
+
'\''
+
", qRcode='"
+
q
R
code
+
'\''
+
", qRcode='"
+
q
r
code
+
'\''
+
", regCode='"
+
regCode
+
'\''
+
", equNo='"
+
equNo
+
'\''
+
", equType='"
+
equType
+
'\''
+
...
...
@@ -590,13 +587,13 @@ public class TLpgGasBottleFiles extends BaseEntity
", upTime="
+
upTime
+
", state='"
+
state
+
'\''
+
", upOptName='"
+
upOptName
+
'\''
+
", pChkDate="
+
p
C
hkDate
+
", nChkDate="
+
n
C
hkDate
+
", pChkDate="
+
p
c
hkDate
+
", nChkDate="
+
n
c
hkDate
+
", productDate="
+
productDate
+
", discardDate="
+
discardDate
+
", safeJudgeDate="
+
safeJudgeDate
+
", gPressure="
+
g
P
ressure
+
", wPressure="
+
w
P
ressure
+
", gPressure="
+
g
p
ressure
+
", wPressure="
+
w
p
ressure
+
", selfWeight="
+
selfWeight
+
", thickness="
+
thickness
+
", permitNo='"
+
permitNo
+
'\''
+
...
...
zh-baseversion-system/src/main/java/com/zehong/system/mapper/TLpgGasBottleFilesMapper.java
View file @
8d2145db
...
...
@@ -28,6 +28,13 @@ public interface TLpgGasBottleFilesMapper
*/
public
List
<
TLpgGasBottleFiles
>
selectTLpgGasBottleFilesList
(
TLpgGasBottleFiles
tLpgGasBottleFiles
);
/**
* 导出查询
* @param tLpgGasBottleFiles t
* @return r
*/
public
List
<
TLpgGasBottleFiles
>
exportTLpgGasBottleFilesList
(
TLpgGasBottleFiles
tLpgGasBottleFiles
);
/**
* 根据 气瓶条码 集合查询数据
* @param codeList codelist
...
...
@@ -43,6 +50,13 @@ public interface TLpgGasBottleFilesMapper
*/
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
*/
public
List
<
TLpgGasBottleFiles
>
selectTLpgGasBottleFilesList
(
TLpgGasBottleFiles
tLpgGasBottleFiles
);
/**
* 导出查询
* @param tLpgGasBottleFiles t
* @return r
*/
public
List
<
TLpgGasBottleFiles
>
exportTLpgGasBottleFilesList
(
TLpgGasBottleFiles
tLpgGasBottleFiles
);
/**
* 新增液化石油气-气瓶档案
*
...
...
@@ -70,6 +76,6 @@ public interface ITLpgGasBottleFilesService
* @param response res
* @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
// 这是 上面气瓶条码 有的气瓶数据
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
();
...
...
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
// 气瓶条码处理
TLpgGasBottleFiles
tLpgGasBottleFiles
=
new
TLpgGasBottleFiles
();
tLpgGasBottleFiles
.
set
qR
code
(
tLpgDeliveryRecordImportVo
.
getBottleCode
());
tLpgGasBottleFiles
.
set
Qr
code
(
tLpgDeliveryRecordImportVo
.
getBottleCode
());
List
<
TLpgGasBottleFiles
>
tLpgGasBottleFiles1
=
tLpgGasBottleFilesMapper
.
selectTLpgGasBottleFilesList
(
tLpgGasBottleFiles
);
if
(
tLpgGasBottleFiles1
==
null
||
tLpgGasBottleFiles1
.
size
()
==
0
)
{
errorNum
++;
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
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
* @return r
*/
@Override
public
Map
<
String
,
Object
>
importLpgGasBottleFilesInfo
(
List
<
TLpgGasBottleFiles
>
xmbhList
,
boolean
updateSupport
,
HttpServletResponse
response
)
{
for
(
TLpgGasBottleFiles
tLpgGasBottleFiles
:
xmbhList
)
{
System
.
out
.
println
(
tLpgGasBottleFiles
.
getqRcode
());
public
void
importLpgGasBottleFilesInfo
(
List
<
TLpgGasBottleFiles
>
xmbhList
,
boolean
updateSupport
,
HttpServletResponse
response
)
{
if
(
xmbhList
.
size
()
>
0
)
{
tLpgGasBottleFilesMapper
.
insertBatch
(
xmbhList
);
}
return
null
;
}
}
zh-baseversion-system/src/main/resources/mapper/system/TLpgGasBottleFilesMapper.xml
View file @
8d2145db
This diff is collapsed.
Click to expand it.
zh-baseversion-web/src/views/lpgRegulation/gasbottlefiles/components/indexInfo.vue
View file @
8d2145db
This diff is collapsed.
Click to expand it.
zh-baseversion-web/src/views/lpgRegulation/gasbottlefiles/index.vue
View file @
8d2145db
...
...
@@ -10,16 +10,16 @@
/>
</el-form-item>
<el-form-item
label=
"气瓶条码"
prop=
"q
R
code"
>
<el-form-item
label=
"气瓶条码"
prop=
"q
r
code"
>
<el-input
v-model=
"queryParams.q
R
code"
v-model=
"queryParams.q
r
code"
placeholder=
"请输入气瓶条码"
clearable
size=
"small"
/>
</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-option
v-for=
"item in stateOptions"
...
...
@@ -28,7 +28,7 @@
:value=
"item.value"
>
</el-option>
</el-select>
</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
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
...
...
@@ -64,17 +64,17 @@
<el-table
v-loading=
"loading"
:data=
"filesList"
@
selection-change=
"handleSelectionChange"
>
<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=
"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=
"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"
>
<span>
{{
parseTime
(
scope
.
row
.
p
C
hkDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<span>
{{
parseTime
(
scope
.
row
.
p
c
hkDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template
>
<
/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"
>
<
span
>
{{
parseTime
(
scope
.
row
.
n
C
hkDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
span
>
{{
parseTime
(
scope
.
row
.
n
c
hkDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"生产日期"
align
=
"center"
prop
=
"productDate"
>
...
...
@@ -93,7 +93,7 @@
<
/template
>
<
/el-table-column
>
<
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"
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
button
...
...
@@ -217,12 +217,12 @@ export default {
pageNum
:
1
,
pageSize
:
10
,
cChkDate
:
null
,
n
C
hkDate
:
null
,
n
c
hkDate
:
null
,
productDate
:
null
,
discardDate
:
null
,
safeJudgeDate
:
null
,
g
P
ressure
:
null
,
w
P
ressure
:
null
,
g
p
ressure
:
null
,
w
p
ressure
:
null
,
selfWeight
:
null
,
permitNo
:
null
,
valveName
:
null
,
...
...
@@ -263,15 +263,7 @@ export default {
this
.
upload
.
open
=
false
;
this
.
upload
.
isUploading
=
false
;
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
.
getList
();
this
.
$showLoading
.
hide
();
}
,
...
...
@@ -352,7 +344,7 @@ export default {
sbCode
:
null
,
cardRecId
:
null
,
appId
:
null
,
q
R
code
:
null
,
q
r
code
:
null
,
cardSendMan
:
null
,
cardSendDeptCode
:
null
,
cardSendDeptName
:
null
,
...
...
@@ -362,13 +354,13 @@ export default {
bak0
:
null
,
bak1
:
null
,
bak2
:
null
,
p
C
hkDate
:
null
,
n
C
hkDate
:
null
,
p
c
hkDate
:
null
,
n
c
hkDate
:
null
,
productDate
:
null
,
discardDate
:
null
,
safeJudgeDate
:
null
,
g
P
ressure
:
null
,
w
P
ressure
:
null
,
g
p
ressure
:
null
,
w
p
ressure
:
null
,
selfWeight
:
null
,
thickness
:
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