From aa47280545fda522d98c81ad5e1223d0d94109d8 Mon Sep 17 00:00:00 2001 From: shidongli Date: Thu, 27 Jun 2024 15:04:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=BB=E5=83=8F=E7=BC=96=E8=BE=91=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/Portraitedit/index.vue | 31 +++++++------------------ 1 file changed, 9 insertions(+), 22 deletions(-) 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) {