Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dxgaqgl-vue
Project
Project
Details
Activity
Releases
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
李苏
dxgaqgl-vue
Commits
5fabb901
Commit
5fabb901
authored
Aug 21, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备检测 新增检测完成功能
parent
2cf82982
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
257 additions
and
141 deletions
+257
-141
index.vue
src/views/equipment/archives/index.vue
+257
-141
No files found.
src/views/equipment/archives/index.vue
View file @
5fabb901
...
@@ -14,7 +14,8 @@
...
@@ -14,7 +14,8 @@
<el-col
:span=
"4"
class=
"search-col"
>
<el-col
:span=
"4"
class=
"search-col"
>
<div
class=
"search-item"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
公司:
</span>
<span
class=
"search-span"
>
公司:
</span>
<RelSelect
style=
"width: 100%;"
src=
'jcsj/common/bm/queryGs'
filterable
clearable
:match=
"
{value:'id',label:'bmmc'}" v-model='queryParams.gsid' >
</RelSelect>
<RelSelect
style=
"width: 100%;"
src=
'jcsj/common/bm/queryGs'
filterable
clearable
:match=
"
{value:'id',label:'bmmc'}" v-model='queryParams.gsid'>
</RelSelect>
</div>
</div>
</el-col>
</el-col>
<!--
<el-col
:span=
"6"
class=
"search-col"
>
-->
<!--
<el-col
:span=
"6"
class=
"search-col"
>
-->
...
@@ -40,9 +41,12 @@
...
@@ -40,9 +41,12 @@
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<AttachFileButton
:app=
'app'
></AttachFileButton>
<AttachFileButton
:app=
'app'
></AttachFileButton>
<FieldButton
:app=
'app'
></FieldButton>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<el-button
@
click
.
native
.
prevent=
"jcwc"
size=
'mini'
type=
"primary"
>
检测完成
</el-button>
<!-- 额外按钮-->
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 表头设置 -->
...
@@ -80,9 +84,14 @@
...
@@ -80,9 +84,14 @@
},
},
data
()
{
data
()
{
return
{
return
{
options
:[
options
:
[{
{
label
:
"是"
,
value
:
"Y"
},
label
:
"是"
,
{
label
:
"否"
,
value
:
"N"
},
value
:
"Y"
},
{
label
:
"否"
,
value
:
"N"
},
],
],
/*需要的额外参数 */
/*需要的额外参数 */
showDialog
:
false
,
showDialog
:
false
,
...
@@ -95,42 +104,149 @@
...
@@ -95,42 +104,149 @@
queryParams
:
{
queryParams
:
{
dabh
:
''
,
dabh
:
''
,
sbxx
:
''
,
sbxx
:
''
,
doc
:
''
,
doc
:
''
,
xtfl
:
"0"
,
xtfl
:
"0"
,
gsid
:
""
gsid
:
""
},
},
/* 表格标题对应参数*/
/* 表格标题对应参数*/
tableTitle
:
[
tableTitle
:
[
//gsid下拉
//gsid下拉
{
label
:
"公司"
,
prop
:
"gsName"
,
fieldType
:
"ftString"
,
width
:
96
},
{
label
:
"公司"
,
prop
:
"gsName"
,
fieldType
:
"ftString"
,
width
:
96
},
//flid,下拉, aqgl/sbgl/sbfl/query
//flid,下拉, aqgl/sbgl/sbfl/query
{
label
:
"设备分类"
,
prop
:
"sbflName"
,
fieldType
:
"ftString"
,
width
:
96
},
{
{
label
:
"设备编号"
,
prop
:
"dabh"
,
fieldType
:
"ftString"
,
width
:
100
},
label
:
"设备分类"
,
{
label
:
"设备代码"
,
prop
:
"code"
,
fieldType
:
"ftString"
,
width
:
140
},
prop
:
"sbflName"
,
{
label
:
"设备名称"
,
prop
:
"name"
,
fieldType
:
"ftString"
,
width
:
160
},
fieldType
:
"ftString"
,
{
label
:
"使用地点"
,
prop
:
"sydd"
,
fieldType
:
"ftString"
,
width
:
300
},
width
:
96
},
{
label
:
"设备编号"
,
prop
:
"dabh"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"设备代码"
,
prop
:
"code"
,
fieldType
:
"ftString"
,
width
:
140
},
{
label
:
"设备名称"
,
prop
:
"name"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"使用地点"
,
prop
:
"sydd"
,
fieldType
:
"ftString"
,
width
:
300
},
// {label: "系统分类", prop: "xtflName", fieldType: "ftString",width:48},
// {label: "系统分类", prop: "xtflName", fieldType: "ftString",width:48},
// {label: "设备分类", prop: "sbflName", fieldType: "ftString",width:96},
// {label: "设备分类", prop: "sbflName", fieldType: "ftString",width:96},
{
label
:
"型号"
,
prop
:
"model"
,
fieldType
:
"ftString"
,
width
:
300
},
{
{
label
:
"制造厂家"
,
prop
:
"productor"
,
fieldType
:
"ftString"
,
width
:
300
},
label
:
"型号"
,
{
label
:
"登记证编号"
,
prop
:
"serialno"
,
fieldType
:
"ftString"
,
width
:
300
},
prop
:
"model"
,
{
label
:
"制造日期"
,
prop
:
"ccrq"
,
fieldType
:
"ftDateTime"
},
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"制造厂家"
,
prop
:
"productor"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"登记证编号"
,
prop
:
"serialno"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"制造日期"
,
prop
:
"ccrq"
,
fieldType
:
"ftDateTime"
},
// {label: "计量单位", prop: "jldw", fieldType: "ftString",width:120},
// {label: "计量单位", prop: "jldw", fieldType: "ftString",width:120},
{
label
:
"启用日期"
,
prop
:
"qyrq"
,
fieldType
:
"ftDateTime"
},
{
{
label
:
"首次检验日期"
,
prop
:
"scjyrq"
,
fieldType
:
"ftDateTime"
},
label
:
"启用日期"
,
prop
:
"qyrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"首次检验日期"
,
prop
:
"scjyrq"
,
fieldType
:
"ftDateTime"
},
/* 不给修改*/
/* 不给修改*/
{
label
:
"下次检验日期"
,
prop
:
"xcjyrq"
,
fieldType
:
"ftDateTime"
},
{
{
label
:
"提前检验周期"
,
prop
:
"tqjyzq"
,
width
:
150
},
label
:
"下次检验日期"
,
prop
:
"xcjyrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"提前检验周期"
,
prop
:
"tqjyzq"
,
width
:
150
},
/* 新增*/
/* 新增*/
{
label
:
"提前检验日期"
,
prop
:
"tqjyrq"
,
fieldType
:
"ftDateTime"
},
{
{
label
:
"检验周期"
,
prop
:
"jyzq"
,
fieldType
:
"ftString"
},
label
:
"提前检验日期"
,
prop
:
"tqjyrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"检验周期"
,
prop
:
"jyzq"
,
fieldType
:
"ftString"
},
/* {label: "停用日期", prop: "tyrq", fieldType: "ftDateTime"}, */
/* {label: "停用日期", prop: "tyrq", fieldType: "ftDateTime"}, */
{
label
:
"使用状态"
,
prop
:
"syzt"
,
fieldType
:
"ftString"
,
width
:
80
},
{
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
}
label
:
"使用状态"
,
prop
:
"syzt"
,
fieldType
:
"ftString"
,
width
:
80
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
}
]
]
}
}
},
},
methods
:
{
methods
:
{
jcwc
()
{
if
(
this
.
app
.
selectOne
||
this
.
app
.
clickOne
)
{
this
.
$confirm
(
'是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
let
params
=
{
id
:
this
.
app
.
singleItem
.
id
}
this
.
$post
(
'aqgl/sbgl/sbxx/check/complete'
,
params
).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
this
.
app
.
$refs
[
'TablePager'
].
reLoad
()
}
else
{
this
.
$error
(
res
.
message
||
'操作失败'
)
}
})
})
}
else
{
this
.
$warning
(
'请选中一行操作'
);
}
},
/* 基础查询*/
/* 基础查询*/
query
:
doQuery
,
query
:
doQuery
,
...
...
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