From 725b0706937306c6341e5dddbcc4fd8de7b8f002 Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期二, 01 四月 2025 10:13:18 +0800
Subject: [PATCH] 1、mdc模块实现各利用率图表页面功能并与后端进行联调 2、删除用户修改密码时的输入校验 3、删除用户管理冗余查询字段 4、调整DNC模块获取权限配置功能时调用的获取所有用户列表接口(原先接口有分页参数导致获取不完整)

---
 src/views/dnc/base/modules/ProductStructure/Cutter/CutterModal.vue |   77 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 77 insertions(+), 0 deletions(-)

diff --git a/src/views/dnc/base/modules/ProductStructure/Cutter/CutterModal.vue b/src/views/dnc/base/modules/ProductStructure/Cutter/CutterModal.vue
new file mode 100644
index 0000000..2503b1c
--- /dev/null
+++ b/src/views/dnc/base/modules/ProductStructure/Cutter/CutterModal.vue
@@ -0,0 +1,77 @@
+<template>
+  <j-modal
+    :title="title"
+    :width="width"
+    :visible="visible"
+    switchFullscreen
+    :maskClosable="false"
+    @ok="handleOk"
+    @cancel="handleCancel"
+    :okButtonProps="{ class:{'jee-hidden': disableSubmit} }"
+    cancelText="鍏抽棴">
+    <CutterModalForm ref="realForm" @ok="submitCallback" :disableSubmit="disableSubmit"/>
+  </j-modal>
+</template>
+
+<script>
+import CutterModalForm from './CutterModalForm.vue'
+
+export default {
+  name: 'CutterModal',
+  components: {
+    CutterModalForm
+  },
+  props: {
+    currentTreeNodeInfo: {
+      type: Object
+    }
+  },
+  data() {
+    return {
+      title: '',
+      width: 700,
+      visible: false,
+      disableSubmit: false
+    }
+  },
+  methods: {
+    // 娣诲姞鎵�鐢ㄥ垁鍏�
+    handleCutterAdd() {
+      const { id, type } = this.currentTreeNodeInfo
+      this.visible = true
+      this.$nextTick(() => {
+        if (this.$refs.realForm) {
+          this.$refs.realForm.add({
+            attributionId: id,
+            attributionType: type
+          })
+        }
+      })
+    },
+
+    // 缂栬緫鍒�鍏蜂俊鎭�
+    handleCutterEdit(record) {
+      this.visible = true
+      this.$nextTick(() => {
+        if (this.$refs.realForm) {
+          this.$refs.realForm.edit({ ...record })
+        }
+      })
+    },
+
+    handleOk() {
+      this.$refs.realForm.submitForm()
+    },
+
+    submitCallback() {
+      this.$emit('submitSuccess')
+      this.visible = false
+    },
+
+    handleCancel() {
+      this.$emit('close')
+      this.visible = false
+    }
+  }
+}
+</script>
\ No newline at end of file

--
Gitblit v1.9.3