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
e5f626e6
Commit
e5f626e6
authored
Feb 06, 2023
by
黄自鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
27221567
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
116 additions
and
108 deletions
+116
-108
edit.vue
src/views/threeViolations/maintainTV/edit.vue
+116
-108
No files found.
src/views/threeViolations/maintainTV/edit.vue
View file @
e5f626e6
<
template
>
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"100px"
:rules=
"rules"
>
<!--
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"序号"
ref=
"xh"
prop=
"xh"
>
<el-input
:readonly=
"readonly"
v-model=
"form.xh"
></el-input>
</el-form-item>
</el-col>
</el-row>
-->
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"100px"
:rules=
"rules"
>
<!--
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"序号"
ref=
"xh"
prop=
"xh"
>
<el-input
:readonly=
"readonly"
v-model=
"form.xh"
></el-input>
</el-form-item>
</el-col>
</el-row>
-->
<el-row
:gutter=
"20"
>
<!-- 公司,班组-->
<el-col
:span=
"24"
>
<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=
"bmid"
prop=
"bmid"
>
<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.bmid' >
</RelSelect>
</el-form-item>
</el-col>
-->
<el-col
:span=
"12"
>
<el-form-item
label=
"三违等级"
ref=
"swdj"
prop=
"swdj"
>
<RelSelect
style=
"width: 100%;"
src=
'/aqgl/swgl/swcfbz/init/swdj'
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.swdj' >
</RelSelect>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"三违类型"
ref=
"wglx"
prop=
"wglx"
>
<RelSelect
style=
"width: 100%;"
src=
'/aqgl/swgl/swcfbz/init/wglx'
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.wglx' >
</RelSelect>
</el-form-item>
</el-col>
<el-row
:gutter=
"20"
>
<!-- 公司,班组-->
<el-col
:span=
"24"
>
<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=
"bmid"
prop=
"bmid"
>
<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.bmid' >
</RelSelect>
</el-form-item>
</el-col>
-->
<el-col
:span=
"12"
>
<el-form-item
label=
"三违等级"
ref=
"swdj"
prop=
"swdj"
>
<RelSelect
style=
"width: 100%;"
src=
'/aqgl/swgl/swcfbz/init/swdj'
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.swdj'>
</RelSelect>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"三违类型"
ref=
"wglx"
prop=
"wglx"
>
<RelSelect
style=
"width: 100%;"
src=
'/aqgl/swgl/swcfbz/init/wglx'
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.wglx'>
</RelSelect>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"罚款金额(元)"
ref=
"fkje"
prop=
"fkje"
>
<el-input
type=
'number'
:readonly=
"readonly"
v-model=
"form.fkje"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"考核分数"
ref=
"khfs"
prop=
"khfs"
>
<el-input
type=
'number'
:readonly=
"readonly"
v-model=
"form.khfs"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<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-form>
</RelDialog>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"罚款金额(元)"
ref=
"fkje"
prop=
"fkje"
>
<el-input
type=
'number'
:readonly=
"readonly"
v-model=
"form.fkje"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"考核分数"
ref=
"khfs"
prop=
"khfs"
>
<el-input
type=
'number'
:readonly=
"readonly"
v-model=
"form.khfs"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<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-form>
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
import
{
editMixin
}
from
'common'
},
/* 组件名称*/
name
:
"maintainTVEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
data
()
{
return
{
},
/* 组件名称*/
name
:
"maintainTVEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
/* 额外初始化,根据需求*/
systemType
:
[],
data
()
{
return
{
bmList
:
[],
/* 额外初始化,根据需求*/
systemType
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
gsid
:
''
,
//ID
id
:
''
,
//序号
xh
:
''
,
//三违内容
content
:
''
,
//类型
wglx
:
''
,
//考核分数
khfs
:
''
,
//罚款金额
fkje
:
''
,
//罚款金额下限
fkjexx
:
''
,
//罚款金额上限
fkjesx
:
''
,
//备注
bz
:
''
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
xh
:
[{
required
:
true
,
trigger
:
'blur'
},
],
swdj
:
[{
required
:
true
,
trigger
:
'blur'
},
],
wglx
:
[{
required
:
true
,
trigger
:
'blur'
},
]
}
}
},
methods
:
{
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
gsid
:
''
,
//ID
id
:
''
,
//序号
xh
:
''
,
//三违内容
content
:
''
,
//类型
wglx
:
''
,
//考核分数
khfs
:
''
,
//罚款金额
fkje
:
''
,
//罚款金额下限
fkjexx
:
''
,
//罚款金额上限
fkjesx
:
''
,
//备注
bz
:
''
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
xh
:
[{
required
:
true
,
trigger
:
'blur'
},],
swdj
:
[{
required
:
true
,
trigger
:
'blur'
},],
wglx
:
[{
required
:
true
,
trigger
:
'blur'
},],
gsid
:
[{
required
:
true
,
trigger
:
'blur'
},],
}
}
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
...
...
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