From c38a3bb6a9cb89297356a1c97ffe87f5ed165c89 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期三, 25 十月 2023 09:51:09 +0800 Subject: [PATCH] 编码规则删除码段提示修改,前端按钮缓存结构修改上传 --- Source/UBCS-WEB/src/views/code/code.vue | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/views/code/code.vue b/Source/UBCS-WEB/src/views/code/code.vue index f26f0cc..1c397cf 100644 --- a/Source/UBCS-WEB/src/views/code/code.vue +++ b/Source/UBCS-WEB/src/views/code/code.vue @@ -1647,6 +1647,7 @@ if (JSON.stringify(conditionMaps) != "{}") { if (this.advancedQueryParam.currentOpen == "codeRule") { this.query = conditionMaps; + // console.log(this.query); this.onLoad(this.page); } else { this.sendGridCodeBasicSec(conditionMaps, true); @@ -2303,6 +2304,12 @@ queryField: "lcStatus", comboxKey: "codeSearchLCStatus", }, + { + data: [], + title: "鎵�鏈夎��", + fieldType: "text", + queryField: "ownerText", + }, ]; } else { this.advancedQueryParam.options = [ @@ -2592,7 +2599,11 @@ }, onLoad(page, params = {}) { this.loading = true; - gridCodeRule(page.currentPage, page.pageSize, params).then((res) => { + gridCodeRule( + page.currentPage, + page.pageSize, + Object.assign({},params,this.query), + ).then((res) => { //console.log(res.data); const data = res.data.data; this.page.total = data.total; @@ -2923,6 +2934,10 @@ if (!this.tipsMessage(this.selectionBasicList)) { return; } + if (this.selectionBasicList[0].lcStatus != "Editing") { + this.$message.warning('缂栫爜瑙勫垯鐘舵�佷笉鏄�"缂栬緫涓�"锛屼笉鍏佽鍒犻櫎鐮佹!'); + return; + } let oid = this.selectionBasicList[0].oid; this.$confirm("鏄惁鍒犻櫎杩欐潯鏁版嵁锛熷鏋滆寮曠敤灏嗕笉鑳借鍒犻櫎锛�", { confirmButtonText: "纭畾", -- Gitblit v1.9.3