|
|
|
@ -81,6 +81,7 @@ |
|
|
|
formType == 'add' || (formType == 'edit' && !item.editDisable) |
|
|
|
" |
|
|
|
v-model="fmData[item.keyName]" |
|
|
|
:picker-options="item.pickerOptions" |
|
|
|
class="item-input" |
|
|
|
size="small" |
|
|
|
clearable |
|
|
|
@ -771,10 +772,18 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
async submit() { |
|
|
|
const { editConfig, fmData, formType, editFixedParams } = this; |
|
|
|
if ( |
|
|
|
typeof editConfig.beforeSubmit == "function" && |
|
|
|
!editConfig.beforeSubmit(formType, fmData, this) |
|
|
|
) { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
let url = ""; |
|
|
|
let params = { |
|
|
|
...this.fmData, |
|
|
|
...this.editFixedParams, |
|
|
|
...fmData, |
|
|
|
...editFixedParams, |
|
|
|
// serviceType: this.fmData.serviceTypeArr.join(","), |
|
|
|
}; |
|
|
|
|
|
|
|
@ -823,6 +832,12 @@ export default { |
|
|
|
|
|
|
|
.item-rich-text { |
|
|
|
width: 817px; |
|
|
|
max-height: 500px; |
|
|
|
overflow: auto; |
|
|
|
|
|
|
|
img { |
|
|
|
max-width: 100%; |
|
|
|
} |
|
|
|
&.z-show { |
|
|
|
box-sizing: border-box; |
|
|
|
padding: 15px; |
|
|
|
|