From 1289e8c4d0a88a1d1ca192a4d126f1ee033d8bb9 Mon Sep 17 00:00:00 2001 From: lzhe <181968431@qq.com> Date: 星期二, 08 七月 2025 23:35:07 +0800 Subject: [PATCH] 1 --- src/views/wel/index.vue | 52 ++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 48 insertions(+), 4 deletions(-) diff --git a/src/views/wel/index.vue b/src/views/wel/index.vue index 4d2b41d..a8d26d4 100644 --- a/src/views/wel/index.vue +++ b/src/views/wel/index.vue @@ -27,7 +27,7 @@ <el-button :size="size" text icon="el-icon-delete" type="primary" @click="showDel(row)" placeholder="鍒犻櫎" title="鍒犻櫎"></el-button> <el-button :size="size" text v-if="row.nodeType < 60" icon="el-icon-document-add" type="primary" @click="showAdd(row)" placeholder="鏂板瀛愮骇" title="鏂板瀛愮骇"></el-button> <el-button :size="size" text v-if="row.nodeType == 60" icon="el-icon-upload" type="primary" @click="showUpload(row)" placeholder="鏂囦欢涓婁紶" title="鏂囦欢涓婁紶"></el-button> - <el-button :size="size" text v-if="row.nodeType == 60" icon="el-icon-pie-chart" type="primary" @click="upgrade(row)" placeholder="鍗囩骇" title="鍗囩骇"></el-button> + <el-button :size="size" text v-if="row.nodeType == 70" icon="el-icon-pie-chart" type="primary" @click="upgrade(row)" placeholder="鍗囩骇" title="鍗囩骇"></el-button> <el-button :size="size" text v-if="row.nodeType == 60 && !isSM" icon="el-icon-position" type="primary" @click="downsend(row)" placeholder="涓嬪彂" title="涓嬪彂"></el-button> </template> </avue-crud> @@ -154,7 +154,16 @@ }, { label: '璁惧锛堟満搴婏級', - prop: 'abc' + prop: 'machineCode', + type: 'select', + dicUrl: '/blade-mdm/machine/page', + props: { + label: 'machineGroupName', + value: 'machineGroupCode', + }, + dicFormatter(res) { + return res.data.records; + } }, { label: '鑺傜偣鍚嶇О', @@ -162,7 +171,7 @@ }, { label: '鑺傜偣鎻忚堪', - prop: 'abc', + prop: 'description', hide: true }, { @@ -219,7 +228,7 @@ }, { label: '璁惧', - prop: 'abc' + prop: 'machineCode' }, { label: '鍥哄寲鐘舵��', @@ -266,6 +275,41 @@ disabled: true }, { + label: '璁惧缂栧彿', + prop: 'machineCode', + type: 'select', + dicUrl: '/blade-mdm/machine/page', + props: { + label: 'machineGroupName', + value: 'machineGroupCode', + }, + dicFormatter(res) { + return res.data.records; + } + }, + { + label: '闆剁粍浠跺彿/鍥惧彿', + prop: 'drawingNo' + }, + { + label: '宸ュ簭', + prop: 'processName' + }, + { + label: '宸ュ簭鐗堟湰', + prop: 'processEdition' + }, + { + label: '鑺傜偣鍒嗙被', + prop: 'category', + type: 'select', + dicUrl: '/blade-system/dict-biz/dictionary?code=node_file_type', + props: { + label: 'dictValue', + value: 'dictKey', + } + }, + { label: '閫夋嫨鏂囦欢', prop: 'uploadFile', type: 'upload', -- Gitblit v1.9.3