Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sgaqgl-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
李苏
sgaqgl-vue
Commits
cb4f4e04
Commit
cb4f4e04
authored
Jan 03, 2023
by
dingyoujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
53736fcc
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
129 additions
and
133 deletions
+129
-133
edit.vue
src/views/equipment/archives/edit.vue
+5
-5
index.vue
src/views/equipment/archives/index.vue
+31
-35
edit.vue
src/views/equipment/archives/new/edit.vue
+6
-6
index.vue
src/views/equipment/archives/new/index.vue
+3
-3
edit.vue
src/views/equipment/environment/edit.vue
+14
-14
index.vue
src/views/equipment/environment/index.vue
+15
-15
edit.vue
src/views/equipment/maintain/edit.vue
+7
-7
index.vue
src/views/equipment/maintain/index.vue
+16
-16
byfkEdit.vue
src/views/equipment/sbbymx/byfkEdit.vue
+5
-5
edit.vue
src/views/equipment/sbbymx/edit.vue
+5
-5
index.vue
src/views/equipment/sbbymx/index.vue
+4
-4
edit.vue
src/views/equipment/specialEquipment/edit.vue
+9
-9
index.vue
src/views/equipment/specialEquipment/index.vue
+9
-9
No files found.
src/views/equipment/archives/edit.vue
View file @
cb4f4e04
...
...
@@ -15,7 +15,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"制造
商
"
ref=
"productor"
prop=
"productor"
>
<el-form-item
label=
"制造
厂家
"
ref=
"productor"
prop=
"productor"
>
<el-input
:readonly=
"readonly"
v-model=
"form.productor"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -25,7 +25,7 @@
</el-form-item>
</el-col>
<!--
<el-col
:span=
"12"
>
<el-form-item
label=
"
出厂
编号"
ref=
"serialno"
prop=
"serialno"
>
<el-form-item
label=
"
登记证
编号"
ref=
"serialno"
prop=
"serialno"
>
<el-input
:readonly=
"readonly"
v-model=
"form.serialno"
></el-input>
</el-form-item>
</el-col>
-->
...
...
@@ -109,11 +109,11 @@
flid
:
''
,
//名称
name
:
''
,
//制造
商
//制造
厂家
productor
:
''
,
//型号
model
:
''
,
//
出厂
编号
//
登记证
编号
serialno
:
''
,
//计量单位
jldw
:
''
,
...
...
@@ -129,7 +129,7 @@
yt
:
''
,
//数量
sl
:
''
,
//
出厂
日期
//
制造
日期
ccrq
:
new
Date
().
getTime
(),
//工作级别
gzjb
:
''
,
...
...
src/views/equipment/archives/index.vue
View file @
cb4f4e04
...
...
@@ -7,29 +7,23 @@
<el-row
:gutter=
"20"
class=
"search-row-1"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
档案编号:
</span>
<el-input
v-model=
"queryParams.dabh"
></el-input>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
设备名称:
</span>
<span
class=
"search-span"
>
设备信息:
</span>
<el-input
v-model=
"queryParams.sbxx"
></el-input>
</div>
</el-col>
<
el-col
:span=
"6"
class=
"search-col"
>
<
div
class=
"search-item"
>
<
span
class=
"search-span"
>
是否已入档:
</span
>
<
el-select
v-model=
"queryParams.doc"
placeholder=
"请选择"
>
<
el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
<
/el-option
>
<
/el-select
>
<
/div
>
<
/el-col
>
<
!--
<el-col
:span=
"6"
class=
"search-col"
>
--
>
<
!--
<div
class=
"search-item"
>
--
>
<
!--
<span
class=
"search-span"
>
是否已入档:
</span>
--
>
<
!--
<el-select
v-model=
"queryParams.doc"
placeholder=
"请选择"
>
--
>
<
!--
<el-option-->
<!--v-for="item in options"-->
<!--:key="item.value"-->
<!--:label="item.label"-->
<!--:value="item.value">--
>
<
!--
</el-option>
--
>
<
!--
</el-select>
--
>
<
!--
</div>
--
>
<
!--
</el-col>
--
>
</el-row>
</div>
...
...
@@ -100,26 +94,28 @@
},
/* 表格标题对应参数*/
tableTitle
:
[
{
label
:
"档案编号"
,
prop
:
"dabh"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"设备编号"
,
prop
:
"code"
,
fieldType
:
"ftString"
,
width
:
140
},
//gsid下拉
{
label
:
"公司"
,
prop
:
"gsName"
,
fieldType
:
"ftString"
,
width
:
96
},
//flid,下拉, aqgl/sbgl/sbfl/query
{
label
:
"设备分类"
,
prop
:
"sbflName"
,
fieldType
:
"ftString"
,
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: "sbflName", fieldType: "ftString",width:96},
{
label
:
"制造商"
,
prop
:
"productor"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"型号"
,
prop
:
"model"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"出厂编号"
,
prop
:
"serialno"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"计量单位"
,
prop
:
"jldw"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"型号"
,
prop
:
"model"
,
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
:
"qyrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"检验日期"
,
prop
:
"scjyrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"下次检验日期"
,
prop
:
"xcjyrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"检验周期"
,
prop
:
"jyzq"
,
fieldType
:
"ftString"
},
/* {label: "停用日期", prop: "tyrq", fieldType: "ftDateTime"}, */
{
label
:
"使用状态"
,
prop
:
"tybzName"
,
fieldType
:
"ftString"
,
width
:
80
},
{
label
:
"使用地点"
,
prop
:
"sydd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"用途"
,
prop
:
"yt"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"数量"
,
prop
:
"sl"
,
fieldType
:
"int"
},
{
label
:
"出厂日期"
,
prop
:
"ccrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"是否已入档"
,
prop
:
"doc"
,
fieldType
:
"ftString"
,
width
:
160
,
show
:
false
},
{
label
:
"是否已入档"
,
prop
:
"docName"
,
fieldType
:
"ftString"
,
width
:
160
}
{
label
:
"使用状态"
,
prop
:
"syzt"
,
fieldType
:
"ftString"
,
width
:
80
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
}
]
}
},
...
...
src/views/equipment/archives/new/edit.vue
View file @
cb4f4e04
...
...
@@ -29,7 +29,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"1.5"
>
<el-form-item
label=
"制造
商
"
ref=
"productor"
prop=
"productor"
>
<el-form-item
label=
"制造
厂家
"
ref=
"productor"
prop=
"productor"
>
<el-input
:readonly=
"readonly"
v-model=
"form.productor"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -39,7 +39,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"1.5"
>
<el-form-item
label=
"
出厂
编号"
ref=
"serialno"
prop=
"serialno"
>
<el-form-item
label=
"
登记证
编号"
ref=
"serialno"
prop=
"serialno"
>
<el-input
:readonly=
"readonly"
v-model=
"form.serialno"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -83,7 +83,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"1.5"
>
<el-form-item
label=
"
出厂
日期"
ref=
"ccrq"
prop=
"ccrq"
>
<el-form-item
label=
"
制造
日期"
ref=
"ccrq"
prop=
"ccrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.ccrq"
placeholder=
"选择日期"
>
</el-date-picker>
...
...
@@ -458,11 +458,11 @@
flid
:
''
,
//名称
name
:
''
,
//制造
商
//制造
厂家
productor
:
''
,
//型号
model
:
''
,
//
出厂
编号
//
登记证
编号
serialno
:
''
,
//计量单位
jldw
:
''
,
...
...
@@ -478,7 +478,7 @@
yt
:
''
,
//数量
sl
:
''
,
//
出厂
日期
//
制造
日期
ccrq
:
new
Date
().
getTime
(),
//系统分类
xtfl
:
''
,
...
...
src/views/equipment/archives/new/index.vue
View file @
cb4f4e04
...
...
@@ -79,9 +79,9 @@
{
label
:
"系统分类"
,
prop
:
"xtflName"
,
fieldType
:
"ftString"
,
width
:
48
},
{
label
:
"设备分类"
,
prop
:
"sbflName"
,
fieldType
:
"ftString"
,
width
:
96
},
{
label
:
"名称"
,
prop
:
"name"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"制造
商
"
,
prop
:
"productor"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"制造
厂家
"
,
prop
:
"productor"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"型号"
,
prop
:
"model"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"
出厂
编号"
,
prop
:
"serialno"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"
登记证
编号"
,
prop
:
"serialno"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"计量单位"
,
prop
:
"jldw"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"启用日期"
,
prop
:
"qyrq"
,
fieldType
:
"ftDateTime"
},
/* {label: "停用日期", prop: "tyrq", fieldType: "ftDateTime"}, */
...
...
@@ -89,7 +89,7 @@
{
label
:
"使用地点"
,
prop
:
"sydd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"用途"
,
prop
:
"yt"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"数量"
,
prop
:
"sl"
,
fieldType
:
"int"
},
{
label
:
"
出厂
日期"
,
prop
:
"ccrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"
制造
日期"
,
prop
:
"ccrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"系统分类"
,
prop
:
"xtfl"
,
fieldType
:
"ftString"
,
width
:
48
},
{
label
:
"工作级别"
,
prop
:
"gzjb"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"跨度"
,
prop
:
"kd"
,
fieldType
:
"ftString"
,
width
:
180
},
...
...
src/views/equipment/environment/edit.vue
View file @
cb4f4e04
...
...
@@ -46,7 +46,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<el-form-item
label=
"制造
商
"
ref=
"productor"
prop=
"productor"
>
<el-form-item
label=
"制造
厂家
"
ref=
"productor"
prop=
"productor"
>
<el-input
:readonly=
"readonly"
v-model=
"form.productor"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -75,16 +75,16 @@
<el-input
:readonly=
"readonly"
v-model=
"form.flid"
></el-input>
</el-form-item>
</el-col>
-->
<!--
<!--
-->
<!--
<el-col
:span=
"12"
>
<el-form-item
label=
"
出厂
编号"
ref=
"serialno"
prop=
"serialno"
>
<el-form-item
label=
"
登记证
编号"
ref=
"serialno"
prop=
"serialno"
>
<el-input
:readonly=
"readonly"
v-model=
"form.serialno"
></el-input>
</el-form-item>
</el-col>
-->
<!--
<!--
<el-col
:span=
"12"
>
<el-form-item
label=
"停用日期"
ref=
"tyrq"
prop=
"tyrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
...
...
@@ -97,16 +97,16 @@
<el-input
:readonly=
"readonly"
v-model=
"form.tybz"
></el-input>
</el-form-item>
</el-col>
-->
<!--
<!--
<el-col
:span=
"12"
>
<el-form-item
label=
"用途"
ref=
"yt"
prop=
"yt"
>
<el-input
:readonly=
"readonly"
v-model=
"form.yt"
></el-input>
</el-form-item>
</el-col>
-->
<!--
<el-col
:span=
"12"
>
<el-form-item
label=
"
出厂
日期"
ref=
"ccrq"
prop=
"ccrq"
>
<el-form-item
label=
"
制造
日期"
ref=
"ccrq"
prop=
"ccrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.ccrq"
placeholder=
"选择日期"
>
</el-date-picker>
...
...
@@ -244,8 +244,8 @@
<el-input
:readonly=
"readonly"
v-model=
"form.wjyy"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"监测因子"
ref=
"jcyz"
prop=
"jcyz"
>
<el-input
:readonly=
"readonly"
v-model=
"form.jcyz"
></el-input>
...
...
@@ -467,11 +467,11 @@
flid
:
''
,
//名称
name
:
''
,
//制造
商
//制造
厂家
productor
:
''
,
//型号
model
:
''
,
//
出厂
编号
//
登记证
编号
serialno
:
''
,
//计量单位
jldw
:
''
,
...
...
@@ -487,7 +487,7 @@
yt
:
''
,
//数量
sl
:
''
,
//
出厂
日期
//
制造
日期
ccrq
:
new
Date
().
getTime
(),
//系统分类
xtfl
:
'2'
,
...
...
src/views/equipment/environment/index.vue
View file @
cb4f4e04
...
...
@@ -76,7 +76,7 @@
</div>
</div>
</template>
<
script
>
import
{
doQuery
,
...
...
@@ -92,7 +92,7 @@
export
default
{
mixins
:
[
tableMixin
],
name
:
'environment'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
...
...
@@ -129,15 +129,15 @@
{
label
:
"仪器名称"
,
prop
:
"name"
,
fieldType
:
"ftString"
,
width
:
240
},
{
label
:
"型号"
,
prop
:
"model"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"计量单位"
,
prop
:
"jldw"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"制造
商
"
,
prop
:
"productor"
,
fieldType
:
"ftString"
,
width
:
300
},
// {label: "
出厂
编号", prop: "serialno", fieldType: "ftString",width:300},
{
label
:
"制造
厂家
"
,
prop
:
"productor"
,
fieldType
:
"ftString"
,
width
:
300
},
// {label: "
登记证
编号", prop: "serialno", fieldType: "ftString",width:300},
{
label
:
"启用日期"
,
prop
:
"qyrq"
,
fieldType
:
"ftDateTime"
},
/* {label: "停用日期", prop: "tyrq", fieldType: "ftDateTime"}, */
{
label
:
"使用状态"
,
prop
:
"tybzName"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"使用地点"
,
prop
:
"sydd"
,
fieldType
:
"ftString"
,
width
:
300
},
// {label: "用途", prop: "yt", fieldType: "ftString",width:300},
{
label
:
"数量"
,
prop
:
"sl"
,
fieldType
:
"int"
},
// {label: "
出厂
日期", prop: "ccrq", fieldType: "ftDateTime"},
// {label: "
制造
日期", prop: "ccrq", fieldType: "ftDateTime"},
// {label: "系统分类", prop: "xtfl", fieldType: "ftString",width:48},
// {label: "工作级别", prop: "gzjb", fieldType: "ftString",width:180},
// {label: "跨度", prop: "kd", fieldType: "ftString",width:180},
...
...
@@ -174,7 +174,7 @@
}
},
methods
:
{
/* 基础查询*/
query
:
doQuery
,
/* 基础增*/
...
...
@@ -185,7 +185,7 @@
apiDelete
:
doDelete
,
/* 初始化赋值操作*/
init
()
{
},
tybz
(
a
)
{
let
nTy
=
false
...
...
@@ -199,7 +199,7 @@
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
row
[
"tybz"
]
==
"Y"
?
row
[
"tybz"
]
=
"N"
:
row
[
"tybz"
]
=
"Y"
doUpdate
(
row
).
then
(
res
=>
{
if
(
res
.
success
)
{
...
...
@@ -212,18 +212,18 @@
})
}
},
components
:
{
Edit
,
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/equipment/maintain/edit.vue
View file @
cb4f4e04
...
...
@@ -33,7 +33,7 @@
<el-input
:readonly=
"readonly"
v-model=
"form.flid"
></el-input>
</el-form-item>
</el-col>
-->
<el-col
:span=
"12"
>
<el-form-item
label=
"下次检验日期"
ref=
"xcjyrq"
prop=
"xcjyrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
value-format=
"timestamp"
...
...
@@ -47,7 +47,7 @@
</el-form-item>
</el-col>
<!--
<el-col
:span=
"12"
>
<el-form-item
label=
"制造
商
"
ref=
"productor"
prop=
"productor"
>
<el-form-item
label=
"制造
厂家
"
ref=
"productor"
prop=
"productor"
>
<el-input
:readonly=
"readonly"
v-model=
"form.productor"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -57,7 +57,7 @@
</el-form-item>
</el-col>
-->
<!--
<el-col
:span=
"12"
>
<el-form-item
label=
"
出厂
编号"
ref=
"serialno"
prop=
"serialno"
>
<el-form-item
label=
"
登记证
编号"
ref=
"serialno"
prop=
"serialno"
>
<el-input
:readonly=
"readonly"
v-model=
"form.serialno"
></el-input>
</el-form-item>
</el-col>
-->
...
...
@@ -116,7 +116,7 @@
</el-form-item>
</el-col>
-->
<!--
<el-col
:span=
"12"
>
<el-form-item
label=
"
出厂
日期"
ref=
"ccrq"
prop=
"ccrq"
>
<el-form-item
label=
"
制造
日期"
ref=
"ccrq"
prop=
"ccrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.ccrq"
placeholder=
"选择日期"
>
</el-date-picker>
...
...
@@ -464,11 +464,11 @@
flid
:
''
,
//名称
name
:
''
,
//制造
商
//制造
厂家
productor
:
''
,
//型号
model
:
''
,
//
出厂
编号
//
登记证
编号
serialno
:
''
,
//计量单位
jldw
:
''
,
...
...
@@ -484,7 +484,7 @@
yt
:
''
,
//数量
sl
:
''
,
//
出厂
日期
//
制造
日期
ccrq
:
new
Date
().
getTime
(),
//工作级别
gzjb
:
''
,
...
...
src/views/equipment/maintain/index.vue
View file @
cb4f4e04
...
...
@@ -45,12 +45,12 @@
<div
class=
"tablePagers"
>
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
@
getRow=
'getRow'
>
</TablePager>
</div>
</div>
</
template
>
<
script
>
import
{
doQuery
,
...
...
@@ -66,14 +66,14 @@
export
default
{
mixins
:
[
tableMixin
],
name
:
'maintain'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
...
...
@@ -96,9 +96,9 @@
// {label: "系统分类", prop: "xtflName", fieldType: "ftString",width:48},
// {label: "设备分类", prop: "sbflName", fieldType: "ftString",width:96},
{
label
:
"名称"
,
prop
:
"name"
,
fieldType
:
"ftString"
,
width
:
300
},
// {label: "制造
商
", prop: "productor", fieldType: "ftString",width:300},
// {label: "制造
厂家
", prop: "productor", fieldType: "ftString",width:300},
// {label: "型号", prop: "model", fieldType: "ftString",width:300},
// {label: "
出厂
编号", prop: "serialno", fieldType: "ftString",width:300},
// {label: "
登记证
编号", prop: "serialno", fieldType: "ftString",width:300},
// {label: "计量单位", prop: "jldw", fieldType: "ftString",width:120},
// {label: "启用日期", prop: "qyrq", fieldType: "ftDateTime"},
/* {label: "停用日期", prop: "tyrq", fieldType: "ftDateTime"}, */
...
...
@@ -106,7 +106,7 @@
// {label: "使用地点", prop: "sydd", fieldType: "ftString",width:300},
{
label
:
"用途"
,
prop
:
"yt"
,
fieldType
:
"ftString"
,
width
:
300
},
// {label: "数量", prop: "sl", fieldType: "int"},
// {label: "
出厂
日期", prop: "ccrq", fieldType: "ftDateTime"},
// {label: "
制造
日期", prop: "ccrq", fieldType: "ftDateTime"},
// {label: "系统分类", prop: "xtfl", fieldType: "ftString",width:48},
// {label: "工作级别", prop: "gzjb", fieldType: "ftString",width:180},
// {label: "跨度", prop: "kd", fieldType: "ftString",width:180},
...
...
@@ -178,7 +178,7 @@
}
},
methods
:
{
/* 基础查询*/
query
:
doQuery
,
/* 基础增*/
...
...
@@ -189,20 +189,20 @@
apiDelete
:
doDelete
,
/* 初始化赋值操作*/
init
()
{
}
},
components
:
{
Edit
,
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/equipment/sbbymx/byfkEdit.vue
View file @
cb4f4e04
...
...
@@ -15,7 +15,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"制造
商
"
ref=
"productor"
prop=
"productor"
>
<el-form-item
label=
"制造
厂家
"
ref=
"productor"
prop=
"productor"
>
<el-input
:readonly=
"readonly"
v-model=
"form.productor"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -25,7 +25,7 @@
</el-form-item>
</el-col>
<!--
<el-col
:span=
"12"
>
<el-form-item
label=
"
出厂
编号"
ref=
"serialno"
prop=
"serialno"
>
<el-form-item
label=
"
登记证
编号"
ref=
"serialno"
prop=
"serialno"
>
<el-input
:readonly=
"readonly"
v-model=
"form.serialno"
></el-input>
</el-form-item>
</el-col>
-->
...
...
@@ -109,11 +109,11 @@
flid
:
''
,
//名称
name
:
''
,
//制造
商
//制造
厂家
productor
:
''
,
//型号
model
:
''
,
//
出厂
编号
//
登记证
编号
serialno
:
''
,
//计量单位
jldw
:
''
,
...
...
@@ -129,7 +129,7 @@
yt
:
''
,
//数量
sl
:
''
,
//
出厂
日期
//
制造
日期
ccrq
:
new
Date
().
getTime
(),
//工作级别
gzjb
:
''
,
...
...
src/views/equipment/sbbymx/edit.vue
View file @
cb4f4e04
...
...
@@ -15,7 +15,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"制造
商
"
ref=
"productor"
prop=
"productor"
>
<el-form-item
label=
"制造
厂家
"
ref=
"productor"
prop=
"productor"
>
<el-input
:readonly=
"readonly"
v-model=
"form.productor"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -25,7 +25,7 @@
</el-form-item>
</el-col>
<!--
<el-col
:span=
"12"
>
<el-form-item
label=
"
出厂
编号"
ref=
"serialno"
prop=
"serialno"
>
<el-form-item
label=
"
登记证
编号"
ref=
"serialno"
prop=
"serialno"
>
<el-input
:readonly=
"readonly"
v-model=
"form.serialno"
></el-input>
</el-form-item>
</el-col>
-->
...
...
@@ -109,11 +109,11 @@
flid
:
''
,
//名称
name
:
''
,
//制造
商
//制造
厂家
productor
:
''
,
//型号
model
:
''
,
//
出厂
编号
//
登记证
编号
serialno
:
''
,
//计量单位
jldw
:
''
,
...
...
@@ -129,7 +129,7 @@
yt
:
''
,
//数量
sl
:
''
,
//
出厂
日期
//
制造
日期
ccrq
:
new
Date
().
getTime
(),
//工作级别
gzjb
:
''
,
...
...
src/views/equipment/sbbymx/index.vue
View file @
cb4f4e04
...
...
@@ -122,9 +122,9 @@
{
label
:
"设备名称"
,
prop
:
"name"
,
fieldType
:
"ftString"
,
width
:
160
},
// {label: "系统分类", prop: "xtflName", fieldType: "ftString",width:48},
// {label: "设备分类", prop: "sbflName", fieldType: "ftString",width:96},
{
label
:
"制造
商
"
,
prop
:
"productor"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"制造
厂家
"
,
prop
:
"productor"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"型号"
,
prop
:
"model"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"
出厂
编号"
,
prop
:
"serialno"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"
登记证
编号"
,
prop
:
"serialno"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"计量单位"
,
prop
:
"jldw"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"启用日期"
,
prop
:
"qyrq"
,
fieldType
:
"ftDateTime"
},
/* {label: "停用日期", prop: "tyrq", fieldType: "ftDateTime"}, */
...
...
@@ -132,7 +132,7 @@
{
label
:
"使用地点"
,
prop
:
"sydd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"用途"
,
prop
:
"yt"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"数量"
,
prop
:
"sl"
,
fieldType
:
"int"
},
{
label
:
"
出厂
日期"
,
prop
:
"ccrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"
制造
日期"
,
prop
:
"ccrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"是否已入档"
,
prop
:
"doc"
,
fieldType
:
"ftString"
,
width
:
160
,
show
:
false
},
{
label
:
"是否已入档"
,
prop
:
"docName"
,
fieldType
:
"ftString"
,
width
:
160
}
...
...
@@ -151,7 +151,7 @@
this
.
rowItem
=
e
this
.
$refs
.
ckxm
.
queryParams
.
mid
=
e
.
id
this
.
$refs
.
ckxm
.
$refs
[
'TablePager'
].
pageQuery
()
},
selectedTree
(
e
){
this
.
queryParams
.
gsid
=
e
.
id
||
'root'
...
...
src/views/equipment/specialEquipment/edit.vue
View file @
cb4f4e04
...
...
@@ -24,7 +24,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"制造
商
"
ref=
"productor"
prop=
"productor"
>
<el-form-item
label=
"制造
厂家
"
ref=
"productor"
prop=
"productor"
>
<el-input
:readonly=
"readonly"
v-model=
"form.productor"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -34,7 +34,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"
出厂
编号"
ref=
"serialno"
prop=
"serialno"
>
<el-form-item
label=
"
登记证
编号"
ref=
"serialno"
prop=
"serialno"
>
<el-input
:readonly=
"readonly"
v-model=
"form.serialno"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -180,7 +180,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"
出厂
日期"
ref=
"ccrq"
prop=
"ccrq"
>
<el-form-item
label=
"
制造
日期"
ref=
"ccrq"
prop=
"ccrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
value-format=
"timestamp"
v-model=
"form.ccrq"
placeholder=
"选择日期"
>
</el-date-picker>
...
...
@@ -236,11 +236,11 @@
flid
:
''
,
//名称
name
:
''
,
//制造
商
//制造
厂家
productor
:
''
,
//型号
model
:
''
,
//
出厂
编号
//
登记证
编号
serialno
:
''
,
//计量单位
jldw
:
''
,
...
...
@@ -256,8 +256,8 @@
yt
:
''
,
//数量
sl
:
''
,
//
出厂
日期
ccrq
:
new
Date
().
getTime
(),
//
制造
日期
ccrq
:
new
Date
().
getTime
(),
//工作级别
gzjb
:
''
,
//跨度
...
...
@@ -393,7 +393,7 @@
//创建时间
cjsj
:
new
Date
().
getTime
(),
mid
:
""
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
...
...
@@ -402,7 +402,7 @@
}
},
methods
:
{
}
}
</
script
>
...
...
src/views/equipment/specialEquipment/index.vue
View file @
cb4f4e04
...
...
@@ -133,19 +133,19 @@
{
label
:
"档案编号"
,
prop
:
"dabh"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"设备编号"
,
prop
:
"code"
,
fieldType
:
"ftString"
,
width
:
140
},
{
label
:
"设备名称"
,
prop
:
"name"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"制造
商
"
,
prop
:
"productor"
,
fieldType
:
"ftString"
,
width
:
200
},
{
label
:
"制造
厂家
"
,
prop
:
"productor"
,
fieldType
:
"ftString"
,
width
:
200
},
{
label
:
"使用状态"
,
prop
:
"tybzName"
,
fieldType
:
"ftString"
,
width
:
80
},
{
label
:
"
出厂
日期"
,
prop
:
"ccrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"
制造
日期"
,
prop
:
"ccrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"安装日期"
,
prop
:
"azrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"安装地点"
,
prop
:
"azdd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"检验周期"
,
prop
:
"jyzq"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"上次检验日期"
,
prop
:
"scjyrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"下次检验日期"
,
prop
:
"xcjyrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"是否已入档"
,
prop
:
"docName"
,
fieldType
:
"ftString"
,
width
:
300
}
...
...
@@ -157,8 +157,8 @@
this
.
queryParams
.
flid
=
e
.
id
||
'1'
;
this
.
$refs
[
'TablePager'
].
pageQuery
();
this
.
editDataX
=
e
.
id
;
},
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