From be9384a8b3f1bea4735f0f013ffca878568937ca Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期四, 27 七月 2023 17:05:42 +0800 Subject: [PATCH] 1、修改owner字段为时间类型错误问题。 2、保存时处理字段不是这个业务类型表里面的字段对比。 --- Source/UBCS-WEB/src/components/Tree/attrCrud.vue | 46 +++++++++++++++++++++++++++------------------- 1 files changed, 27 insertions(+), 19 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Tree/attrCrud.vue b/Source/UBCS-WEB/src/components/Tree/attrCrud.vue index 6461664..1dd85a5 100644 --- a/Source/UBCS-WEB/src/components/Tree/attrCrud.vue +++ b/Source/UBCS-WEB/src/components/Tree/attrCrud.vue @@ -372,25 +372,33 @@ } return ''; }, - ProData: { - handler(newVal, oldVal) { - if(this.initializing){ - newVal.forEach((item) => { - item.classifyInvokeText = { - "娉ㄥ叆绫诲瀷": item.classifyInvokeAttr, - "娉ㄥ叆绫诲瀷鍚嶇О": item.classifyInvokeAttrName, - "灞傜骇璁剧疆": item.classifyInvokeLevel, - "鏄惁鍙慨鏀�": item.classifyInvokeEditFlag - }; - }); - } - this.ProData=newVal; - this.initializing = false; - console.log('ProData',this.ProData) - }, - deep: true, - immediate:true - }, + // ProData: { + // handler(newVal, oldVal) { + // if(this.initializing){ + // this.ProData = newVal.map((item) => { + // if (item.classifyInvokeAttr !=='') { // 妫�鏌lassifyInvokeText灞炴�ф槸鍚﹀瓨鍦� + // item = { + // ...item, + // classifyInvokeText: { + // classifyInvokeText: { + // "娉ㄥ叆绫诲瀷": item.classifyInvokeAttr, + // "娉ㄥ叆绫诲瀷鍚嶇О": item.classifyInvokeAttrName, + // "灞傜骇璁剧疆": item.classifyInvokeLevel, + // "鏄惁鍙慨鏀�": item.classifyInvokeEditFlag + // } + // } + // } + // } + // return item; + // }); + // } + // this.initializing = false; + // console.log('ProData',this.ProData) + // console.log('newVal',newVal) + // }, + // deep: true, + // immediate:true + // }, }, data() { return { -- Gitblit v1.9.3