Browse Source

测试bug修复

master
ljlong_2630 8 months ago
parent
commit
200e517ece
  1. 14
      src/components/Detail/src/DetailDeviceLedger.vue
  2. 8
      src/views/eam/mold/moldAccounts/moldAccounts.data.ts

14
src/components/Detail/src/DetailDeviceLedger.vue

@ -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
})
}

8
src/views/eam/mold/moldAccounts/moldAccounts.data.ts

@ -253,7 +253,13 @@ export const MoldMilestone = useCrudSchemas(reactive<CrudSchema[]>([
field: 'milestoneStage',
sort: 'custom',
isSearch: true,
isForm: true
isForm: true,
form: {
component: 'Select',
componentProps: {
disabled: true
}
},
},
{
label: '里程碑日期',

Loading…
Cancel
Save