You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
< template >
< div >
<!-- 字段填充方式 -- >
< el -dialog
title = "提示"
:visible.sync ="dialogVisible"
width = "420px"
append -to -body
:close-on-click-modal ="false"
class = "bs-dialog-wrap bs-el-dialog"
>
< p style = "color:var(--bs-el-text);line-height: 24px;padding-left: 10px;display: flex;" >
< i
class = "el-icon-warning"
style = "color: #E6A23C;font-size: 24px;margin-right: 5px;"
/ >
存在字段描述信息为空 , 请确认
< / p >
< span
slot = "footer"
class = "dialog-footer"
>
< el -button
class = "bs-el-button-default"
@click ="fieldDescFill"
>
使用字段名填充
< / e l - b u t t o n >
< el -button
class = "bs-el-button-default"
@click ="fieldDescEdit"
>
进入编辑
< / e l - b u t t o n >
< el -button
type = "primary"
@click ="toSave"
>
继续保存
< / e l - b u t t o n >
< / span >
< / e l - d i a l o g >
< / div >
< / template >
< script >
export default {
name : 'FieldFillDialog' ,
data ( ) {
return {
dialogVisible : false
}
} ,
methods : {
open ( ) {
this . dialogVisible = true
} ,
close ( ) {
this . dialogVisible = false
} ,
fieldDescFill ( ) {
this . $emit ( 'fieldDescFill' )
} ,
fieldDescEdit ( ) {
this . $emit ( 'fieldDescEdit' )
} ,
toSave ( ) {
this . $emit ( 'toSave' )
}
}
}
< / script >
< style lang = "scss" scoped >
@ import '~packages/assets/style/bsTheme.scss' ;
: : v - deep . el - dialog _ _body {
height : fit - content ;
min - height : unset ;
}
< / style >