diff --git a/src/views/manage/Portraitedit/index.vue b/src/views/manage/Portraitedit/index.vue index f561d84..7f3b9b5 100644 --- a/src/views/manage/Portraitedit/index.vue +++ b/src/views/manage/Portraitedit/index.vue @@ -216,33 +216,20 @@ export default { //保存 TemporaryStorage() { var emptyItems = [] - + var form={ groupingValues:[] } form.groupingValues=this.getParamslistData - emptyItems = form.groupingValues.flat().filter(f => f.fieldValue == "" || !f.fieldValue) - console.log(form, 'this.form') - // this.getParamslistData.forEach(e => { - // e.forEach(el => { - // el.routeId = this.itemdata.routeId - // el.routeName = this.itemdata.routeName - // el.routeNodeId = this.querytParams.id - // el.routeNodeName = this.itemdata.routeNodeName - // el.taskPartitionCode = this.itemdata.taskPartitionCode - // el.taskPartitionDictId = this.itemdata.taskPartitionDictId - // el.taskPartitionDictName = this.itemdata.taskPartitionDictName - // el.taskTypeCode = this.itemdata.taskTypeCode - // el.taskTypeId = this.itemdata.taskTypeId - // el.taskTypeName = this.itemdata.taskTypeName - // }) - // }) - console.log(emptyItems, 'emptyItems') + // emptyItems = form.groupingValues.flat().filter(f => f.fieldValue == "" || !f.fieldValue) + // console.log(form, 'this.form') + // console.log(emptyItems, 'emptyItems') // return - if (emptyItems && emptyItems.length > 0) { - this.$modal.msgError("请填写完整,再进行提交"); - } else { + // if (emptyItems && emptyItems.length > 0) { + // this.$modal.msgError("请填写完整,再进行提交"); + // } else { + this.$confirm('是否确认提交?', '提示', { confirmButtonText: '确认', cancelButtonText: '取消', @@ -267,7 +254,7 @@ export default { loading.close(); }); }) - } + // } }, additem(index) {