|
|
@ -196,11 +196,11 @@ |
|
|
|
:style="{height:'600px'}" |
|
|
|
> |
|
|
|
<el-form ref="fileDialogUploadRef" :model="fileDialogUploadData" :key="dialogFormKey"> |
|
|
|
<el-form-item label="文件上传"> |
|
|
|
<el-form-item label="文件选择"> |
|
|
|
<UploadFile v-model="fileDialogUploadData.filePathList" :limit="20" /> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-button type="primary" @click="dialogUploadFile">点击修改</el-button> |
|
|
|
<el-button type="primary" @click="dialogUploadFile">提交</el-button> |
|
|
|
</Dialog> |
|
|
|
<!-- dialog表单弹窗:添加/修改 --> |
|
|
|
<BasicForm |
|
|
@ -896,6 +896,15 @@ const buttonMilestoneClick = async (val, row) => { |
|
|
|
} |
|
|
|
|
|
|
|
const submitDialogForm = async (type, row) => { |
|
|
|
const { tableObject, tableMethods } = useTable({ |
|
|
|
getListApi: props.apiPage, // 分页接口 |
|
|
|
defaultParams : props.defaultParams |
|
|
|
}) |
|
|
|
detailAllSchemasRef.value = props.detailAllSchemas |
|
|
|
tableObjectRef.value = tableObject |
|
|
|
tableMethodsRef.value = tableMethods |
|
|
|
tableObjectRef.value.tableList = [] |
|
|
|
const { getList } = tableMethods |
|
|
|
await props.diaLogApiUpdate(row) |
|
|
|
dialogFormRef.value.dialogVisible = false |
|
|
|
await getList() |
|
|
@ -936,6 +945,7 @@ function dialogUploadFile() { |
|
|
|
props.uploadImage(data).then((res) => { |
|
|
|
message.success('修改成功') |
|
|
|
getImage() |
|
|
|
dialogUploadVisible.value = false |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|