修改bug

This commit is contained in:
宋伟佳
2021-11-19 14:22:18 +08:00
parent 6df1fdcef2
commit 06475d9885
2 changed files with 6 additions and 2 deletions
@@ -727,6 +727,7 @@ export default {
uploadBackSuccess (res, file, fileList) { uploadBackSuccess (res, file, fileList) {
if (res.ok) { if (res.ok) {
this.fileInfoList.push(res.data) this.fileInfoList.push(res.data)
this.listForm.fileName = this.fileInfoList
this.$message.success('上传成功') this.$message.success('上传成功')
} else { } else {
this.$message.error(res.message) this.$message.error(res.message)
@@ -784,7 +785,6 @@ export default {
* @description: 动态表单读取 * @description: 动态表单读取
*/ */
getFormFieldList (item) { getFormFieldList (item) {
console.log(item.commentText);
this.$nextTick(() => { this.$nextTick(() => {
this.listForm = JSON.parse(JSON.stringify(item)) this.listForm = JSON.parse(JSON.stringify(item))
if(item.form === undefined){ if(item.form === undefined){
@@ -869,7 +869,11 @@ export default {
}, { }, {
_this: this _this: this
}, res => { }, res => {
this.listForm.breakdownList = res.data; let breakdown = res.data
breakdown.forEach(item => {
delete item.termsConditions
})
this.listForm.breakdownList = breakdown;
this.ListModel = false; this.ListModel = false;
}, e => { }, e => {
this.$message.error("添加失败"); this.$message.error("添加失败");