From ea3ab34e0d3af27887cbeef5e5871cefd1cc459e Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期四, 26 十月 2023 11:30:54 +0800
Subject: [PATCH] 主题库定义-按钮权限
---
Source/UBCS-WEB/src/views/code/code.vue | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/Source/UBCS-WEB/src/views/code/code.vue b/Source/UBCS-WEB/src/views/code/code.vue
index 3286013..3e6a917 100644
--- a/Source/UBCS-WEB/src/views/code/code.vue
+++ b/Source/UBCS-WEB/src/views/code/code.vue
@@ -1,5 +1,5 @@
<template>
- <basic-container class="code-total" style="height: 100%">
+ <basic-container class="code-total" style=" height: 100%">
<!-- 缂栫爜瑙勫垯淇℃伅灞曠ず鍖哄煙 -->
<basic-container class="code-rule-container">
<p
@@ -2600,9 +2600,9 @@
onLoad(page, params = {}) {
this.loading = true;
gridCodeRule(
- page.currentPage,
- page.pageSize,
- Object.assign({},params,this.query),
+ page.currentPage,
+ page.pageSize,
+ Object.assign({},params,this.query),
).then((res) => {
//console.log(res.data);
const data = res.data.data;
@@ -2934,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