From a40d8462edbf25418207d2ec212e15d3d15ce9dd Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期一, 31 三月 2025 17:36:58 +0800 Subject: [PATCH] art: 设备管理-保养标准-明细项展示 --- src/views/eam/equipment/modules/NameplateModal.vue | 24 +++++++++++++----------- 1 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/views/eam/equipment/modules/NameplateModal.vue b/src/views/eam/equipment/modules/NameplateModal.vue index df25901..af606bf 100644 --- a/src/views/eam/equipment/modules/NameplateModal.vue +++ b/src/views/eam/equipment/modules/NameplateModal.vue @@ -3,8 +3,7 @@ title="閾墝" :width="750" :visible="visible" - @ok="handleOk" - @cancel="visible=false" + @cancel="handleCancel" :maskClosable="false" > <table id="nameplateTable" border="1" cellpadding="12" cellspacing="0" align="center" width="80%"> @@ -17,7 +16,7 @@ <tbody> <tr> <td rowspan="3"> - + <QrcodeVue :value="httpUrl"/> </td> <td>璁惧缂栧彿</td> <td>{{ model.equipmentCode }}</td> @@ -35,12 +34,14 @@ <tr> <td>璁惧绠$悊</td> - <td>浣跨敤閮ㄩ棬</td> + <td>浣跨敤杞﹂棿</td> <td>{{ model.orgId_dictText }}</td> </tr> <tr> - <td rowspan="3">123123123123</td> + <td rowspan="3"> + <QrcodeVue :value="model.equipmentCode"/> + </td> <td>鍑哄巶缂栧彿</td> <td>{{ model.factoryNumber }}</td> </tr> @@ -63,28 +64,29 @@ </table> <template slot="footer"> - <a-button>鍏抽棴</a-button> + <a-button @click="handleCancel">鍏抽棴</a-button> <a-button type="primary" v-print="'#nameplateTable'">鎵撳嵃</a-button> </template> </j-modal> </template> <script> +import QrcodeVue from 'qrcode.vue' + export default { name: 'NameplateModal', - components: { }, + components: { QrcodeVue }, data() { return { title: '閾墝', visible: false, - disableSubmit: false, model: {}, - url: {} + httpUrl: '' } }, methods: { - handleOk() { - + handleCancel() { + this.visible = false } } } -- Gitblit v1.9.3