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
>
<
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=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
">名称"
ref=
"name"
prop=
"name"
>
<el-form-item
label=
">名称"
ref=
"name"
prop=
"name"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
<el-input
:readonly=
"readonly"
v-model=
"form.name"
></el-input>
v-model=
"form.name"
placeholder=
"选择日期"
>
</el-form-item>
</el-date-picker>
</el-col>
</el-form-item>
</el-row>
</el-col>
<el-row
:gutter=
"20"
>
</el-row>
<el-col
:span=
"24"
>
<el-row
:gutter=
"20"
>
<el-form-item
label=
">序号"
ref=
"xh"
prop=
"xh"
>
<el-col
:span=
"24"
>
<el-input
:readonly=
"readonly"
v-model=
"form.xh"
></el-input>
<el-form-item
label=
">序号"
ref=
"xh"
prop=
"xh"
>
</el-form-item>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
</el-col>
v-model=
"form.xh"
placeholder=
"选择日期"
>
</el-row>
</el-date-picker>
<el-row
:gutter=
"20"
>
</el-form-item>
<el-col
:span=
"24"
>
</el-col>
<el-form-item
label=
">备注"
ref=
"bz"
prop=
"bz"
>
</el-row>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
<el-row
:gutter=
"20"
>
</el-form-item>
<el-col
:span=
"24"
>
</el-col>
<el-form-item
label=
">备注"
ref=
"bz"
prop=
"bz"
>
</el-row>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
<el-row
:gutter=
"20"
>
v-model=
"form.bz"
placeholder=
"选择日期"
>
<el-col
:span=
"24"
>
</el-date-picker>
<el-form-item
label=
">系统版本"
ref=
"sysversion"
prop=
"sysversion"
>
</el-form-item>
<el-input
:readonly=
"readonly"
v-model=
"form.sysversion"
></el-input>
</el-col>
</el-form-item>
</el-row>
</el-col>
<el-row
:gutter=
"20"
>
</el-row>
<el-col
:span=
"24"
>
</el-form>
<el-form-item
label=
">系统版本"
ref=
"sysversion"
prop=
"sysversion"
>
</RelDialog>
<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>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
editMixin
}
from
'common'
import
{
editMixin
}
from
'common'
export
default
{
export
default
{
mixins
:
[
editMixin
],
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
/* 存放index页面传递的额外参数*/
mounted
()
{
mounted
()
{
},
},
/* 组件名称*/
/* 组件名称*/
name
:
"aqgl/jcsj
BzzywdmlEdit"
,
name
:
"aqgl
BzzywdmlEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
data
()
{
return
{
return
{
/* 额外初始化,根据需求*/
/* 额外初始化,根据需求*/
systemType
:
[],
systemType
:
[],
bmList
:
[],
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
form
:
{
id
:
''
,
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
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
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