From a2eeba84bed5de1c19b74279ee7f096b5eff5528 Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期三, 13 九月 2023 11:50:00 +0800 Subject: [PATCH] 1、加载分类的时候提示没有编码规则错误,同时处理由此导致的RMDataTransmitObject未初始化保存问题,在创建bean时就进行了初始化。 --- Source/UBCS-WEB/src/components/dockingSearch/VciDockingSearch.vue | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Source/UBCS-WEB/src/components/dockingSearch/VciDockingSearch.vue b/Source/UBCS-WEB/src/components/dockingSearch/VciDockingSearch.vue index e34488d..652907c 100644 --- a/Source/UBCS-WEB/src/components/dockingSearch/VciDockingSearch.vue +++ b/Source/UBCS-WEB/src/components/dockingSearch/VciDockingSearch.vue @@ -4,7 +4,7 @@ <!-- 闆嗘垚鏃ュ織 浠诲姟 鏁版嵁鍏ㄩ儴鍏敤--> <el-form-item label="闆嗘垚鏌ヨ:" size="small"> <el-select v-model="formInline.type" placeholder="璇烽�夋嫨鍒嗙被" @change="SelectChange"> - <el-option :label="item.label" :value="item.value" v-for="item in SearchObject.searchData" ></el-option> + <el-option :label="item.label" :value="item.value" :key="item.value" v-for="(item,index) in SearchObject.searchData"></el-option> </el-select> </el-form-item> <!-- 闆嗘垚鏃ュ織 鏄惁鎴愬姛--> @@ -64,7 +64,7 @@ </el-form-item> <!-- 鏌ヨ鎸夐挳--> <el-form-item size="small" v-if="shouldShowButton"> - <el-button type="success" size="small">鏌ヨ</el-button> + <el-button type="success" size="small" @click="handleSearch">鏌ヨ</el-button> </el-form-item> </el-form> </div> @@ -117,9 +117,13 @@ }, SaveHandler(){ let name = this.SearchObject.searchData[this.formInline.type].prop; - getList(this.page.currentPage, this.page.pageSize, {[name]: this.formInline.text}).then(res => { + getList(this.page.currentPage, this.page.pageSize, { [`conditionMap['${name}_like']`]: this.formInline.text}).then(res => { console.log(res); }); + }, + handleSearch(){ + let formattedDate = this.$moment(this.formInline.Date).format('YYYY-M-D'); + console.log('formattedDate',formattedDate); } } } -- Gitblit v1.9.3