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
bac62f25
Commit
bac62f25
authored
Jan 04, 2023
by
dingyoujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
三违
parent
9de23a92
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
192 additions
and
160 deletions
+192
-160
enterTV.js
src/api/threeViolations/enterTV.js
+9
-0
edit.vue
src/views/equipment/archives/edit.vue
+116
-81
index.vue
src/views/equipment/sbbymx/index.vue
+20
-19
edit.vue
src/views/threeViolations/correctTV/edit.vue
+1
-1
index.vue
src/views/threeViolations/correctTV/index.vue
+2
-2
edit.vue
src/views/threeViolations/enterTV/edit.vue
+30
-46
index.vue
src/views/threeViolations/enterTV/index.vue
+5
-2
edit.vue
src/views/threeViolations/punishmentRecord/edit.vue
+1
-1
index.vue
src/views/threeViolations/punishmentRecord/index.vue
+2
-2
edit.vue
src/views/threeViolations/queryRecords/edit.vue
+1
-1
index.vue
src/views/threeViolations/queryRecords/index.vue
+2
-2
edit.vue
src/views/threeViolations/tFPasses/edit.vue
+1
-1
index.vue
src/views/threeViolations/tFPasses/index.vue
+2
-2
No files found.
src/api/threeViolations/enterTV.js
View file @
bac62f25
...
@@ -104,3 +104,12 @@ export function queryBglxFile(query) {
...
@@ -104,3 +104,12 @@ export function queryBglxFile(query) {
data
:
query
||
{}
data
:
query
||
{}
})
})
}
}
/* 查询 */
export
function
doQueryCfbz
(
query
)
{
return
request
({
url
:
'/aqgl/swgl/swcfbz/query'
,
method
:
'post'
,
data
:
query
||
{}
})
}
src/views/equipment/archives/edit.vue
View file @
bac62f25
<
template
>
<
template
>
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<!-- 填写表单内容,slot=form必写-->
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"设备编码"
ref=
"code"
prop=
"code"
>
<el-form-item
label=
"公司"
ref=
"gsid"
prop=
"gsid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.code"
></el-input>
<!--
<el-input
:readonly=
"readonly"
v-model=
"form.name"
></el-input>
-->
</el-form-item>
<RelSelect
:readonly=
"readonly"
filterable
style=
"width: 100%;"
src=
'/jcsj/common/bm/queryGs'
:match=
"
{value:'id',label:'bmmc'}" v-model='form.gsid' >
</RelSelect>
</el-col>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"设备编号"
ref=
"dabh"
prop=
"dabh"
>
<el-input
:readonly=
"readonly"
v-model=
"form.dabh"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"设备代码"
ref=
"code"
prop=
"code"
>
<el-input
:readonly=
"readonly"
v-model=
"form.code"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"设备分类"
ref=
"flid"
prop=
"gsid"
>
<!--
<el-input
:readonly=
"readonly"
v-model=
"form.name"
></el-input>
-->
<RelSelect
:readonly=
"readonly"
filterable
style=
"width: 100%;"
src=
'/aqgl/sbgl/sbfl/query'
:match=
"
{value:'id',label:'name'}" v-model='form.flid' >
</RelSelect>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"设备名称"
ref=
"name"
prop=
"name"
>
<el-input
:readonly=
"readonly"
v-model=
"form.name"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"使用地点"
ref=
"sydd"
prop=
"sydd"
>
<el-input
:readonly=
"readonly"
v-model=
"form.sydd"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"型号"
ref=
"model"
prop=
"model"
>
<el-input
:readonly=
"readonly"
v-model=
"form.model"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"制造厂家"
ref=
"productor"
prop=
"productor"
>
<el-input
:readonly=
"readonly"
v-model=
"form.productor"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"登记证编号"
ref=
"serialno"
prop=
"serialno"
>
<el-input
:readonly=
"readonly"
v-model=
"form.serialno"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"制造日期"
ref=
"ccrq"
prop=
"ccrq"
>
<el-date-picker
value-format=
"timestamp"
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.ccrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"启用日期"
ref=
"qyrq"
prop=
"qyrq"
>
<el-date-picker
value-format=
"timestamp"
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.qyrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"检验日期"
ref=
"scjyrq"
prop=
"scjyrq"
>
<el-date-picker
value-format=
"timestamp"
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.scjyrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"下次检验日期"
ref=
"xcjyrq"
prop=
"xcjyrq"
>
<el-date-picker
value-format=
"timestamp"
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.xcjyrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"设备名称"
ref=
"name"
prop=
"name"
>
<el-form-item
label=
"检验周期(天)"
ref=
"jyzq"
prop=
"jyzq"
>
<el-input
:readonly=
"readonly"
v-model=
"form.name"
></el-input>
<el-input
type=
"number"
:readonly=
"readonly"
v-model=
"form.jyzq"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"制造厂家"
ref=
"productor"
prop=
"productor"
>
<el-form-item
label=
"使用状态"
ref=
"syzt"
prop=
"syzt"
>
<el-input
:readonly=
"readonly"
v-model=
"form.productor"
></el-input>
<el-input
:readonly=
"readonly"
v-model=
"form.syzt"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
</el-row>
<el-form-item
label=
"型号"
ref=
"model"
prop=
"model"
>
<el-row
:gutter=
"20"
>
<el-input
:readonly=
"readonly"
v-model=
"form.model"
></el-input>
<el-col
:span=
"24"
>
</el-form-item>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
</el-col>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
<!--
<el-col
:span=
"12"
>
</el-form-item>
<el-form-item
label=
"登记证编号"
ref=
"serialno"
prop=
"serialno"
>
</el-col>
<el-input
:readonly=
"readonly"
v-model=
"form.serialno"
></el-input>
</el-row>
</el-form-item>
</el-form>
</el-col>
-->
<el-col
:span=
"12"
>
<el-form-item
label=
"计量单位"
ref=
"jldw"
prop=
"jldw"
>
<el-input
:readonly=
"readonly"
v-model=
"form.jldw"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"启用日期"
ref=
"qyrq"
prop=
"qyrq"
>
<el-date-picker
value-format=
"timestamp"
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.qyrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"使用地点"
ref=
"sydd"
prop=
"sydd"
>
<el-input
:readonly=
"readonly"
v-model=
"form.sydd"
></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=
"sl"
prop=
"sl"
>
<el-input
:readonly=
"readonly"
v-model=
"form.sl"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"是否入档"
ref=
"doc"
prop=
"doc"
>
<el-switch
v-model=
"form.doc"
active-color=
"#13ce66"
active-value=
"Y"
inactive-value=
"N"
inactive-color=
"#ff4949"
>
</el-switch>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
<el-input
type=
"textarea"
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</RelDialog>
</RelDialog>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -118,9 +151,9 @@
...
@@ -118,9 +151,9 @@
//计量单位
//计量单位
jldw
:
''
,
jldw
:
''
,
//启用日期
//启用日期
qyrq
:
new
Date
().
getTime
()
,
qyrq
:
''
,
//停用日期
//停用日期
tyrq
:
new
Date
().
getTime
(),
//
tyrq:new Date().getTime(),
//停用标志
//停用标志
tybz
:
''
,
tybz
:
''
,
//使用地点
//使用地点
...
@@ -130,7 +163,7 @@
...
@@ -130,7 +163,7 @@
//数量
//数量
sl
:
''
,
sl
:
''
,
//制造日期
//制造日期
ccrq
:
new
Date
().
getTime
()
,
ccrq
:
''
,
//工作级别
//工作级别
gzjb
:
''
,
gzjb
:
''
,
//跨度
//跨度
...
@@ -146,7 +179,7 @@
...
@@ -146,7 +179,7 @@
//电机功率
//电机功率
djgl
:
''
,
djgl
:
''
,
//安装日期
//安装日期
azrq
:
new
Date
().
getTime
(),
//
azrq:new Date().getTime(),
//安装地点
//安装地点
azdd
:
''
,
azdd
:
''
,
//安装单位
//安装单位
...
@@ -158,13 +191,13 @@
...
@@ -158,13 +191,13 @@
//检验周期
//检验周期
jyzq
:
''
,
jyzq
:
''
,
//上次检验日期
//上次检验日期
scjyrq
:
new
Date
().
getTime
()
,
scjyrq
:
''
,
//下次检验日期
//下次检验日期
xcjyrq
:
new
Date
().
getTime
()
,
xcjyrq
:
''
,
//检验前自检结论
//检验前自检结论
jyqzjjl
:
''
,
jyqzjjl
:
''
,
//实际检验日期
//实际检验日期
sjjyrq
:
new
Date
().
getTime
()
,
sjjyrq
:
''
,
//特检机构检验结论
//特检机构检验结论
tjjgjyjl
:
''
,
tjjgjyjl
:
''
,
//检验整改情况
//检验整改情况
...
@@ -258,15 +291,17 @@
...
@@ -258,15 +291,17 @@
//维护人
//维护人
whr
:
''
,
whr
:
''
,
//维护时间
//维护时间
whsj
:
new
Date
().
getTime
(),
//
whsj:new Date().getTime(),
//创建人编码
//创建人编码
cjrid
:
''
,
cjrid
:
''
,
//创建人
//创建人
cjr
:
''
,
cjr
:
''
,
//创建时间
//创建时间
cjsj
:
new
Date
().
getTime
(),
//
cjsj:new Date().getTime(),
//系统版本
//系统版本
doc
:
""
doc
:
""
,
syzt
:
""
,
gsid
:
""
},
},
/* form提交时的规则,具体规则参考官网*/
/* form提交时的规则,具体规则参考官网*/
rules
:
{
rules
:
{
...
...
src/views/equipment/sbbymx/index.vue
View file @
bac62f25
...
@@ -117,26 +117,27 @@
...
@@ -117,26 +117,27 @@
},
},
/* 表格标题对应参数*/
/* 表格标题对应参数*/
tableTitle
:
[
tableTitle
:
[
{
label
:
"档案编号"
,
prop
:
"dabh"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"公司"
,
prop
:
"gsName"
,
fieldType
:
"ftString"
,
width
:
96
},
{
label
:
"设备编号"
,
prop
:
"code"
,
fieldType
:
"ftString"
,
width
:
140
},
//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
:
"name"
,
fieldType
:
"ftString"
,
width
:
160
},
// {label: "系统分类", prop: "xtflName", fieldType: "ftString",width:48},
{
label
:
"使用地点"
,
prop
:
"sydd"
,
fieldType
:
"ftString"
,
width
:
300
},
// {label: "设备分类", prop: "sbflName", fieldType: "ftString",width:96},
// {label: "系统分类", prop: "xtflName", fieldType: "ftString",width:48},
{
label
:
"制造厂家"
,
prop
:
"productor"
,
fieldType
:
"ftString"
,
width
:
300
},
// {label: "设备分类", prop: "sbflName", fieldType: "ftString",width:96},
{
label
:
"型号"
,
prop
:
"model"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"型号"
,
prop
:
"model"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"登记证编号"
,
prop
:
"serialno"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"制造厂家"
,
prop
:
"productor"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"计量单位"
,
prop
:
"jldw"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"登记证编号"
,
prop
:
"serialno"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"启用日期"
,
prop
:
"qyrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"制造日期"
,
prop
:
"ccrq"
,
fieldType
:
"ftDateTime"
},
/* {label: "停用日期", prop: "tyrq", fieldType: "ftDateTime"}, */
// {label: "计量单位", prop: "jldw", fieldType: "ftString",width:120},
{
label
:
"使用状态"
,
prop
:
"tybzName"
,
fieldType
:
"ftString"
,
width
:
80
},
{
label
:
"启用日期"
,
prop
:
"qyrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"使用地点"
,
prop
:
"sydd"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"检验日期"
,
prop
:
"scjyrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"用途"
,
prop
:
"yt"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"下次检验日期"
,
prop
:
"xcjyrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"数量"
,
prop
:
"sl"
,
fieldType
:
"int"
},
{
label
:
"检验周期"
,
prop
:
"jyzq"
,
fieldType
:
"ftString"
},
{
label
:
"制造日期"
,
prop
:
"ccrq"
,
fieldType
:
"ftDateTime"
},
/* {label: "停用日期", prop: "tyrq", fieldType: "ftDateTime"}, */
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"使用状态"
,
prop
:
"syzt"
,
fieldType
:
"ftString"
,
width
:
80
},
{
label
:
"是否已入档"
,
prop
:
"doc"
,
fieldType
:
"ftString"
,
width
:
160
,
show
:
false
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
}
{
label
:
"是否已入档"
,
prop
:
"docName"
,
fieldType
:
"ftString"
,
width
:
160
}
],
],
/* 树的标题 */
/* 树的标题 */
treeTitle
:
'公司列表'
,
treeTitle
:
'公司列表'
,
...
...
src/views/threeViolations/correctTV/edit.vue
View file @
bac62f25
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"所在
班组
"
ref=
"bzid"
prop=
"bzid"
>
<el-form-item
label=
"所在
部门
"
ref=
"bzid"
prop=
"bzid"
>
<RelSelect
linkage
:linkParams=
"
{pid:form.bmid}" :readonly="readonly" style="width: 100%;" src='jcsj/common/bm/queryBz' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='form.bzid' >
</RelSelect>
<RelSelect
linkage
:linkParams=
"
{pid:form.bmid}" :readonly="readonly" style="width: 100%;" src='jcsj/common/bm/queryBz' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='form.bzid' >
</RelSelect>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
...
src/views/threeViolations/correctTV/index.vue
View file @
bac62f25
...
@@ -103,8 +103,8 @@
...
@@ -103,8 +103,8 @@
tableTitle
:
[
tableTitle
:
[
{
label
:
"工号"
,
prop
:
"wzrcode"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"工号"
,
prop
:
"wzrcode"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"姓名"
,
prop
:
"wzr"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"姓名"
,
prop
:
"wzr"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"所在公司"
,
prop
:
"
bm
Name"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"所在公司"
,
prop
:
"
gs
Name"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"所在
班组"
,
prop
:
"bz
Name"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"所在
部门"
,
prop
:
"bm
Name"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"联系手机"
,
prop
:
"phone"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"联系手机"
,
prop
:
"phone"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"违章日期"
,
prop
:
"wzrq"
,
fieldType
:
"ftDate"
},
{
label
:
"违章日期"
,
prop
:
"wzrq"
,
fieldType
:
"ftDate"
},
{
label
:
"违章行为"
,
prop
:
"wzxw"
,
fieldType
:
"ftString"
,
width
:
280
},
{
label
:
"违章行为"
,
prop
:
"wzxw"
,
fieldType
:
"ftString"
,
width
:
280
},
...
...
src/views/threeViolations/enterTV/edit.vue
View file @
bac62f25
...
@@ -5,37 +5,23 @@
...
@@ -5,37 +5,23 @@
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<!--
<el-input
:readonly=
"readonly"
v-model=
"form.userid"
></el-input>
-->
<!--
<el-input
:readonly=
"readonly"
v-model=
"form.userid"
></el-input>
-->
<el-form-item
label=
"
姓名
"
ref=
"userid"
prop=
"userid"
>
<el-form-item
label=
"
三违人员
"
ref=
"userid"
prop=
"userid"
>
<personSelector
:label=
"form.wzr||form.userid||'暂无'"
@
selected=
'wgrSelected'
></personSelector>
<personSelector
:label=
"form.wzr||form.userid||'暂无'"
@
selected=
'wgrSelected'
></personSelector>
</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=
"处罚标准"
ref=
"swbzid"
prop=
"swbzid"
>
-->
<el-input
:readonly=
"true"
v-model=
"form.phone"
></el-input>
<!--
<RelSelect
style=
"width: 100%;"
:readonly=
"readonly"
src=
'aqgl/swgl/swcfbz/query'
:match=
"
{value:'id',label:'swdjName' + 'wglxName'}" v-model='form.swbzid' >
</RelSelect>
-->
</el-form-item>
<!--
</el-form-item>
-->
</el-col>
<el-form-item
label=
"处罚标准"
ref=
"swbzid"
prop=
"swbzid"
>
</el-row>
<el-select
style=
"width: 100%;"
v-model=
"form.swbzid"
placeholder=
""
>
<el-row
:gutter=
"20"
>
<el-option
v-for=
"(item,index) in cfbzList"
:key=
"item.id"
:label=
"item.wglxName + '______' + item.swdjName"
:value=
"item.id"
></el-option>
</el-select>
<el-col
:span=
"12"
>
<el-form-item
label=
"所在公司"
ref=
"gsid"
prop=
"gsid"
>
<RelSelect
style=
"width: 100%;"
:readonly=
"readonly"
src=
'jcsj/common/bm/queryGs'
:match=
"
{value:'id',label:'bmmc'}" v-model='form.gsid' >
</RelSelect>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"所在班组"
ref=
"bzid"
prop=
"bzid"
>
<RelSelect
linkage
:linkParams=
"
{pid:form.gsid}" :readonly="readonly" style="width: 100%;" src='jcsj/common/bm/queryBz' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='form.bzid' >
</RelSelect>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"20"
>
<el-row>
<!--
<el-col
:span=
"12"
>
<el-form-item
label=
"所在部门"
ref=
"bmid"
prop=
"bmid"
>
<RelSelect
hasValue
:optionsData=
'optionsData'
style=
"width: 100%;"
:params=
"
{}" src='/kzzx/bm/query' clearable :match="{value:'id',label:'bmmc'}" v-model='form.bmid' >
</RelSelect>
</el-form-item>
</el-col>
-->
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"违章日期"
ref=
"wzrq"
prop=
"wzrq"
>
<el-form-item
label=
"违章日期"
ref=
"wzrq"
prop=
"wzrq"
>
<el-date-picker
value-format=
"timestamp"
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
<el-date-picker
value-format=
"timestamp"
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
...
@@ -43,17 +29,6 @@
...
@@ -43,17 +29,6 @@
</el-date-picker>
</el-date-picker>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<!--
<el-col
:span=
"12"
>
<el-form-item
label=
"处罚金额"
ref=
"cfje"
prop=
"cfje"
>
<el-input
type=
'number'
:readonly=
"readonly"
v-model=
"form.cfje"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
</el-form-item>
</el-col>
-->
</el-row>
</el-row>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
...
@@ -184,11 +159,14 @@
...
@@ -184,11 +159,14 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
editMixin
}
from
'common'
import
{
editMixin
}
from
'common'
import
{
doQueryCfbz
}
from
'@/api/threeViolations/enterTV.js'
;
export
default
{
export
default
{
mixins
:
[
editMixin
],
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
/* 存放index页面传递的额外参数*/
mounted
()
{
mounted
()
{
doQueryCfbz
({}).
then
(
e
=>
{
this
.
cfbzList
=
e
.
data
.
records
||
[]
})
},
},
/* 组件名称*/
/* 组件名称*/
name
:
"enterTVEdit"
,
name
:
"enterTVEdit"
,
...
@@ -200,7 +178,7 @@
...
@@ -200,7 +178,7 @@
/* 额外初始化,根据需求*/
/* 额外初始化,根据需求*/
systemType
:
[],
systemType
:
[],
bm
List
:
[],
cfbz
List
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
phone
:
''
,
form
:
{
phone
:
''
,
...
@@ -213,7 +191,7 @@
...
@@ -213,7 +191,7 @@
//违规人ID
//违规人ID
userid
:
''
,
userid
:
''
,
//违章日期
//违章日期
wzrq
:
new
Date
().
getTime
(),
wzrq
:
new
Date
().
getTime
(),
//违章行为
//违章行为
wzxw
:
''
,
wzxw
:
''
,
//备注
//备注
...
@@ -223,13 +201,12 @@
...
@@ -223,13 +201,12 @@
//维护人
//维护人
whr
:
''
,
whr
:
''
,
//维护时间
//维护时间
whsj
:
new
Date
().
getTime
(),
//创建人编码
//创建人编码
cjrid
:
''
,
cjrid
:
''
,
//创建人
//创建人
cjr
:
''
,
cjr
:
''
,
//创建时间
//创建时间
cjsj
:
new
Date
().
getTime
(),
//系统版本
//系统版本
sysversion
:
''
,
sysversion
:
''
,
//状态
//状态
...
@@ -257,7 +234,7 @@
...
@@ -257,7 +234,7 @@
//安全教育人
//安全教育人
aqjyrid
:
''
,
aqjyrid
:
''
,
//安全教育时间
//安全教育时间
aqjysj
:
new
Date
().
getTime
()
,
aqjysj
:
''
,
//安全教育内容
//安全教育内容
aqcont
:
''
,
aqcont
:
''
,
//反思内容
//反思内容
...
@@ -269,13 +246,13 @@
...
@@ -269,13 +246,13 @@
//被教育人编码
//被教育人编码
ldbjyrid
:
''
,
ldbjyrid
:
''
,
//领导教育时间
//领导教育时间
ldjysj
:
new
Date
().
getTime
()
,
ldjysj
:
''
,
//领导教育内容
//领导教育内容
ldcont
:
''
,
ldcont
:
''
,
//家属教育人
//家属教育人
jsjyr
:
''
,
jsjyr
:
''
,
//家属教育时间
//家属教育时间
jsjysj
:
new
Date
().
getTime
()
,
jsjysj
:
''
,
//家属教育内容
//家属教育内容
jscont
:
''
,
jscont
:
''
,
//纠正措施
//纠正措施
...
@@ -285,14 +262,21 @@
...
@@ -285,14 +262,21 @@
//纠正验证人编码
//纠正验证人编码
jzyzrid
:
''
,
jzyzrid
:
''
,
//纠正验证时间
//纠正验证时间
jzyzsj
:
new
Date
().
getTime
()
,
jzyzsj
:
''
,
//处罚标志
//处罚标志
cfbz
:
''
,
cfbz
:
''
,
//处罚金额
//处罚金额
cfje
:
''
,
cfje
:
''
,
swbzid
:
''
},
},
/* form提交时的规则,具体规则参考官网*/
/* form提交时的规则,具体规则参考官网*/
rules
:
{
rules
:
{
userid
:
[{
required
:
true
},
],
swbzid
:
[{
required
:
true
},
],
wzrq
:
[{
required
:
true
},
]
/* bmid: [{
/* bmid: [{
required: true,
required: true,
trigger: 'blur'
trigger: 'blur'
...
...
src/views/threeViolations/enterTV/index.vue
View file @
bac62f25
...
@@ -43,7 +43,8 @@
...
@@ -43,7 +43,8 @@
doQuery
,
doQuery
,
doAdd
,
doAdd
,
doUpdate
,
doUpdate
,
doDelete
doDelete
,
doQueryCfbz
}
from
'@/api/threeViolations/enterTV.js'
;
}
from
'@/api/threeViolations/enterTV.js'
;
/* edit页面*/
/* edit页面*/
/* edit页面*/
/* edit页面*/
...
@@ -81,10 +82,12 @@
...
@@ -81,10 +82,12 @@
{
label
:
"姓名"
,
prop
:
"wzr"
,
fieldType
:
"ftString"
,
width
:
140
},
{
label
:
"姓名"
,
prop
:
"wzr"
,
fieldType
:
"ftString"
,
width
:
140
},
//{label: "所在部门", prop: "bmName", fieldType: "ftString",width:160},
//{label: "所在部门", prop: "bmName", fieldType: "ftString",width:160},
{
label
:
"所在公司"
,
prop
:
"gsName"
,
fieldType
:
"ftString"
,
width
:
140
},
{
label
:
"所在公司"
,
prop
:
"gsName"
,
fieldType
:
"ftString"
,
width
:
140
},
{
label
:
"所在
班组"
,
prop
:
"bz
Name"
,
fieldType
:
"ftString"
,
width
:
140
},
{
label
:
"所在
部门"
,
prop
:
"bm
Name"
,
fieldType
:
"ftString"
,
width
:
140
},
{
label
:
"联系手机"
,
prop
:
"phone"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"联系手机"
,
prop
:
"phone"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"违章日期"
,
prop
:
"wzrq"
,
fieldType
:
"ftDate"
},
{
label
:
"违章日期"
,
prop
:
"wzrq"
,
fieldType
:
"ftDate"
},
{
label
:
"违章行为"
,
prop
:
"wzxw"
,
fieldType
:
"ftString"
,
width
:
280
},
{
label
:
"违章行为"
,
prop
:
"wzxw"
,
fieldType
:
"ftString"
,
width
:
280
},
{
label
:
"三违等级"
,
prop
:
"swdjName"
,
fieldType
:
"ftString"
,
width
:
280
},
{
label
:
"三违类型"
,
prop
:
"wglxName"
,
fieldType
:
"ftString"
,
width
:
280
},
// {label: "备注", prop: "bz", fieldType: "ftString",width:300},
// {label: "备注", prop: "bz", fieldType: "ftString",width:300},
// {label: "维护人", prop: "whr", fieldType: "ftString"},
// {label: "维护人", prop: "whr", fieldType: "ftString"},
// {label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
// {label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
...
...
src/views/threeViolations/punishmentRecord/edit.vue
View file @
bac62f25
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"所在
班组
"
ref=
"bzid"
prop=
"bzid"
>
<el-form-item
label=
"所在
部门
"
ref=
"bzid"
prop=
"bzid"
>
<RelSelect
linkage
:linkParams=
"
{pid:form.bmid}" :readonly="readonly" style="width: 100%;" src='jcsj/common/bm/queryBz' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='form.bzid' >
</RelSelect>
<RelSelect
linkage
:linkParams=
"
{pid:form.bmid}" :readonly="readonly" style="width: 100%;" src='jcsj/common/bm/queryBz' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='form.bzid' >
</RelSelect>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
...
src/views/threeViolations/punishmentRecord/index.vue
View file @
bac62f25
...
@@ -108,8 +108,8 @@
...
@@ -108,8 +108,8 @@
tableTitle
:
[
tableTitle
:
[
{
label
:
"工号"
,
prop
:
"wzrcode"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"工号"
,
prop
:
"wzrcode"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"姓名"
,
prop
:
"wzr"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"姓名"
,
prop
:
"wzr"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"所在公司"
,
prop
:
"
bm
Name"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"所在公司"
,
prop
:
"
gs
Name"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"所在
班组"
,
prop
:
"bz
Name"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"所在
部门"
,
prop
:
"bm
Name"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"联系手机"
,
prop
:
"phone"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"联系手机"
,
prop
:
"phone"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"违章日期"
,
prop
:
"wzrq"
,
fieldType
:
"ftDate"
},
{
label
:
"违章日期"
,
prop
:
"wzrq"
,
fieldType
:
"ftDate"
},
{
label
:
"处罚金额"
,
prop
:
"cfje"
,
fieldType
:
"money"
},
{
label
:
"处罚金额"
,
prop
:
"cfje"
,
fieldType
:
"money"
},
...
...
src/views/threeViolations/queryRecords/edit.vue
View file @
bac62f25
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"所在
班组
"
ref=
"bzid"
prop=
"bzid"
>
<el-form-item
label=
"所在
部门
"
ref=
"bzid"
prop=
"bzid"
>
<RelSelect
linkage
:linkParams=
"
{pid:form.bmid}" :readonly="readonly" style="width: 100%;" src='jcsj/common/bm/queryBz' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='form.bzid' >
</RelSelect>
<RelSelect
linkage
:linkParams=
"
{pid:form.bmid}" :readonly="readonly" style="width: 100%;" src='jcsj/common/bm/queryBz' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='form.bzid' >
</RelSelect>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
...
src/views/threeViolations/queryRecords/index.vue
View file @
bac62f25
...
@@ -109,8 +109,8 @@
...
@@ -109,8 +109,8 @@
tableTitle
:
[
tableTitle
:
[
{
label
:
"工号"
,
prop
:
"wzrcode"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"工号"
,
prop
:
"wzrcode"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"姓名"
,
prop
:
"wzr"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"姓名"
,
prop
:
"wzr"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"所在公司"
,
prop
:
"
bm
Name"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"所在公司"
,
prop
:
"
gs
Name"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"所在
班组"
,
prop
:
"bz
Name"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"所在
部门"
,
prop
:
"bm
Name"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"联系手机"
,
prop
:
"phone"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"联系手机"
,
prop
:
"phone"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"违章日期"
,
prop
:
"wzrq"
,
fieldType
:
"ftDate"
},
{
label
:
"违章日期"
,
prop
:
"wzrq"
,
fieldType
:
"ftDate"
},
{
label
:
"违章行为"
,
prop
:
"wzxw"
,
fieldType
:
"ftString"
,
width
:
280
},
{
label
:
"违章行为"
,
prop
:
"wzxw"
,
fieldType
:
"ftString"
,
width
:
280
},
...
...
src/views/threeViolations/tFPasses/edit.vue
View file @
bac62f25
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"所在
班组
"
ref=
"bzid"
prop=
"bzid"
>
<el-form-item
label=
"所在
部门
"
ref=
"bzid"
prop=
"bzid"
>
<RelSelect
linkage
:linkParams=
"
{pid:form.bmid}" :readonly="readonly" style="width: 100%;" src='jcsj/common/bm/queryBz' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='form.bzid' >
</RelSelect>
<RelSelect
linkage
:linkParams=
"
{pid:form.bmid}" :readonly="readonly" style="width: 100%;" src='jcsj/common/bm/queryBz' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='form.bzid' >
</RelSelect>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
...
src/views/threeViolations/tFPasses/index.vue
View file @
bac62f25
...
@@ -121,8 +121,8 @@
...
@@ -121,8 +121,8 @@
tableTitle
:
[
tableTitle
:
[
{
label
:
"工号"
,
prop
:
"wzrcode"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"工号"
,
prop
:
"wzrcode"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"姓名"
,
prop
:
"wzr"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"姓名"
,
prop
:
"wzr"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"所在公司"
,
prop
:
"
bm
Name"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"所在公司"
,
prop
:
"
gs
Name"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"所在
班组"
,
prop
:
"bz
Name"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"所在
部门"
,
prop
:
"bm
Name"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"联系手机"
,
prop
:
"phone"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"联系手机"
,
prop
:
"phone"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"违章日期"
,
prop
:
"wzrq"
,
fieldType
:
"ftDate"
},
{
label
:
"违章日期"
,
prop
:
"wzrq"
,
fieldType
:
"ftDate"
},
{
label
:
"违章行为"
,
prop
:
"wzxw"
,
fieldType
:
"ftString"
,
width
:
280
},
{
label
:
"违章行为"
,
prop
:
"wzxw"
,
fieldType
:
"ftString"
,
width
:
280
},
...
...
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