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
a069f3c2
Commit
a069f3c2
authored
Nov 07, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐患管理部分接口
parent
905b2435
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
114 additions
and
0 deletions
+114
-0
contentEdit.vue
src/views/riskPrecontrol/maintenanceRiskTask/contentEdit.vue
+114
-0
No files found.
src/views/riskPrecontrol/maintenanceRiskTask/contentEdit.vue
0 → 100644
View file @
a069f3c2
<
template
>
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<!--
<el-col
:span=
"12"
>
<el-form-item
label=
"任务ID"
ref=
"mid"
prop=
"mid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.mid"
></el-input>
</el-form-item>
</el-col>
-->
<el-col
:span=
"24"
>
<el-form-item
label=
"来源单据"
ref=
"lydjid"
prop=
"lydjid"
>
<!--
<el-input
:readonly=
"readonly"
v-model=
"form.lydjid"
></el-input>
-->
<RelSelect
:params=
'
{fxbzid:app.vMain.rowItem.fxbzid}' style='width: 100%;' src='aqgl/fxyk/fxpc/queryFxjcnr' clearable :match="{value:'id',label:'nr'}" v-model='form.lydjid' >
</RelSelect>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"检查得分"
ref=
"jcdf"
prop=
"jcdf"
>
<el-input
:readonly=
"readonly"
v-model=
"form.jcdf"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"整改后得分"
ref=
"zgdf"
prop=
"zgdf"
>
<el-input
:readonly=
"readonly"
v-model=
"form.zgdf"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"检查结果"
ref=
"jcjg"
prop=
"jcjg"
>
<el-input
:readonly=
"readonly"
v-model=
"form.jcjg"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
this
.
form
.
mid
=
this
.
app
.
queryParams
.
mid
},
/* 组件名称*/
name
:
"aqgl/fxykFxpcmxEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
id
:
''
,
mid
:
''
,
lydjid
:
''
,
jcdf
:
''
,
zgdf
:
''
,
jcjg
:
''
,
zt
:
''
,
bz
:
''
,
whrid
:
''
,
whr
:
''
,
whsj
:
new
Date
().
getTime
(),
cjrid
:
''
,
cjr
:
''
,
cjsj
:
new
Date
().
getTime
(),
sysversion
:
''
,
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
roleid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
rolename
:
[{
required
:
true
,
trigger
:
'blur'
},
]
}
}
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
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