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
f26a68f0
Commit
f26a68f0
authored
Nov 01, 2022
by
dingyoujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
c4f55c0c
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
193 additions
and
212 deletions
+193
-212
edit.vue
...operationDcManagement/operationDcManagement-less/edit.vue
+118
-129
edit.vue
...operationDcManagement/operationDcManagement-main/edit.vue
+75
-83
No files found.
src/views/basicData/operationDcManagement/operationDcManagement-less/edit.vue
View file @
f26a68f0
This diff is collapsed.
Click to expand it.
src/views/basicData/operationDcManagement/operationDcManagement-main/edit.vue
View file @
f26a68f0
<
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=
"24"
>
<el-form-item
label=
">名称"
ref=
"name"
prop=
"name"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.name"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
">序号"
ref=
"xh"
prop=
"xh"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.xh"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
">备注"
ref=
"bz"
prop=
"bz"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.bz"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
">系统版本"
ref=
"sysversion"
prop=
"sysversion"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.sysversion"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
</el-form>
</RelDialog>
<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=
"24"
>
<el-form-item
label=
">名称"
ref=
"name"
prop=
"name"
>
<el-input
:readonly=
"readonly"
v-model=
"form.name"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<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=
"bz"
prop=
"bz"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
">系统版本"
ref=
"sysversion"
prop=
"sysversion"
>
<el-input
:readonly=
"readonly"
v-model=
"form.sysversion"
></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'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
},
/* 组件名称*/
name
:
"aqgl/jcsj
BzzywdmlEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
},
/* 组件名称*/
name
:
"aqgl
BzzywdmlEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
/* 额外初始化,根据需求*/
systemType
:
[],
bmList
:
[],
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
id
:
''
,
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
id
:
''
,
name
:
''
,
name
:
''
,
xh
:
''
,
xh
:
''
,
bz
:
''
,
bz
:
''
,
whrid
:
''
,
whrid
:
''
,
whr
:
''
,
whr
:
''
,
whsj
:
new
Date
().
getTime
(),
whsj
:
new
Date
().
getTime
(),
cjrid
:
''
,
cjrid
:
''
,
cjr
:
''
,
cjr
:
''
,
cjsj
:
new
Date
().
getTime
(),
cjsj
:
new
Date
().
getTime
(),
sysversion
:
''
,
sysversion
:
''
,
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
roleid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
rolename
:
[{
required
:
true
,
trigger
:
'blur'
},
]
}
}
},
methods
:
{
/* form提交时的规则,具体规则参考官网*/
rules
:
{
roleid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
rolename
:
[{
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