From 3432c3100ccb4c3b78dc0a5f7f242bdcda503a63 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期三, 18 六月 2025 10:45:49 +0800 Subject: [PATCH] 1、终端程序呼叫页面呼叫原因组件由输入框改为多行文本域 2、设备管理页面新增设备图片字段同时在新增和编辑设备时添加设备图片 3、设备监控以及设备看板页面新增故障状态同时替换设备图片为设备管理页面中维护的设备图片而不再是设备所属设备类型图片以及三色灯增加故障状态灯 --- src/views/dnc/base/modules/ProductStructure/GuideCardBatch/GuideCardBatchList.vue | 43 +++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 41 insertions(+), 2 deletions(-) diff --git a/src/views/dnc/base/modules/ProductStructure/GuideCardBatch/GuideCardBatchList.vue b/src/views/dnc/base/modules/ProductStructure/GuideCardBatch/GuideCardBatchList.vue index 3b539f6..13c7147 100644 --- a/src/views/dnc/base/modules/ProductStructure/GuideCardBatch/GuideCardBatchList.vue +++ b/src/views/dnc/base/modules/ProductStructure/GuideCardBatch/GuideCardBatchList.vue @@ -79,9 +79,9 @@ <a-divider type="vertical" /> - <a @click="handleDetail(record)">鍙戣捣娴佺▼</a> + <a v-if="record.flowStatus === '1'" @click="handleStartFlow(record)">鍙戣捣娴佺▼</a> - <a-divider type="vertical" /> + <a-divider v-if="record.flowStatus === '1'" type="vertical" /> <a @click="handleDetail(record)">璇︽儏</a> @@ -184,6 +184,7 @@ deleteBatch: "/dnc/guideCardBatch/deleteBatch", exportXlsUrl: "/dnc/guideCardBatch/exportXls", importExcelUrl: "dnc/guideCardBatch/importExcel", + startGuideCardBatch: "/dnc/guideCardBatch/startGuideCardBatch" }, dictOptions:{}, @@ -292,6 +293,44 @@ handleOpenPrintKnifeListModal(record){ this.$refs.knifeListPrintModal.visible = true this.$refs.knifeListPrintModal.detail = Object.assign({},record) + this.$refs.knifeListPrintModal.handleCutter(record.docId) + }, + + handleStartFlow(record){ + const that = this + that.$confirm({ + this: '鎻愮ず', + content: `纭鍙戣捣纭娴佺▼鍚楋紵`, + okText: '纭', + cancelText: '鍙栨秷', + onOk: () => { + getAction(this.url.startGuideCardBatch,{id:record.id}).then(res => { + if (res.success) { + that.$notification.success({ + message: '娑堟伅', + description: res.message + }) + } else { + that.$notification.error({ + message: '娑堟伅', + description: res.message + }) + } + }) + .catch(err => { + that.$notification.error({ + message: '娑堟伅', + description: err.message + }) + }) + .finally(() => { + that.$destroyAll() + }) + }, + onCancel: () => { + that.$destroyAll() + } + }) } } } -- Gitblit v1.9.3