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