feat: 修改提交时间传值问题
This commit is contained in:
@@ -536,8 +536,8 @@
|
||||
if(this.config.current || this.isProcess){
|
||||
titleName = this.config.name + '详情'
|
||||
}else {
|
||||
const name = this.dataForm.id ? this.$t('common.editText') : this.$t('common.addText')
|
||||
titleName = name + this.config.name
|
||||
const text = this.dataForm.id ? this.$t('common.editText') : this.$t('common.addText')
|
||||
titleName = text + this.config.name
|
||||
}
|
||||
return titleName
|
||||
}
|
||||
@@ -1472,10 +1472,13 @@
|
||||
operateType: this.dataForm.id ? 1 : 0,
|
||||
attachments: data.attachment,
|
||||
data: {
|
||||
...formData
|
||||
...formData,
|
||||
eDate: this.formatTime(formData.eDate),
|
||||
sDate: this.formatTime(formData.sDate),
|
||||
}
|
||||
}
|
||||
const formMethod = createModel;
|
||||
console.log(params,'params---')
|
||||
formMethod(this.modelId, params).then(res => {
|
||||
uni.showToast({
|
||||
title:'保存成功',
|
||||
|
||||
Reference in New Issue
Block a user