From ae11615808e7c5fdc541780a687da068cd98386f Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期四, 12 六月 2025 09:53:07 +0800 Subject: [PATCH] 1、调整终端首页功能页面logo图片改为字体图标优化资源获取速度 2、新增终端合格率和程序呼叫页面 3、终端点检页面不再为独立页面,调整为与二保三保页面相同的跳转我的待办页面逻辑 4、终端所有页面完成前后端联调 --- src/views/dnc/base/modules/ProductStructure/Cutter/CutterModal.vue | 78 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 78 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..14533d6 --- /dev/null +++ b/src/views/dnc/base/modules/ProductStructure/Cutter/CutterModal.vue @@ -0,0 +1,78 @@ +<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 { attributionId, attributionType, docId } = this.currentTreeNodeInfo + this.visible = true + this.$nextTick(() => { + if (this.$refs.realForm) { + this.$refs.realForm.add({ + attributionId: attributionId, + attributionType: attributionType, + docId: docId + }) + } + }) + }, + + // 缂栬緫鍒�鍏蜂俊鎭� + 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