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