From 13220a06b42d49cf8326ec6e3d4a07406d1eb573 Mon Sep 17 00:00:00 2001
From: wang <3597712270@qq.com>
Date: 星期三, 10 四月 2024 08:34:18 +0800
Subject: [PATCH] 添加语言文件夹
---
UI-Project/src/views/UnLoadGlass/loadmachinerack.vue | 66 +++++++++++++++++++++++---------
1 files changed, 47 insertions(+), 19 deletions(-)
diff --git a/UI-Project/src/views/UnLoadGlass/loadmachinerack.vue b/UI-Project/src/views/UnLoadGlass/loadmachinerack.vue
index 1a1607a..a7c071d 100644
--- a/UI-Project/src/views/UnLoadGlass/loadmachinerack.vue
+++ b/UI-Project/src/views/UnLoadGlass/loadmachinerack.vue
@@ -4,10 +4,11 @@
import {useRouter} from "vue-router"
const router = useRouter()
+const dialogFormVisiblea = ref(false)
import { ref } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import Landingindication from "./Landingindication.vue";
-import Landingindicationtwo from "./Landingindicationtwo.vue";
+// import Landingindicationtwo from "./Landingindicationtwo.vue";
const tableData = [
{
@@ -15,24 +16,21 @@
long: '1005',
wide: '183.6',
thick: '1991',
- type: '寰呰瘑鍒�',
- typea: '1',
+ state: '鏈惎鐢�',
},
{
id: '2',
long: '105',
wide: '183',
thick: '191',
- typea: '1',
- type: '寰呰瘑鍒�'
+ state: '鏈惎鐢�'
},
{
id: '2',
long: '105',
wide: '183',
thick: '191',
- typea: '1',
- type: '寰呰瘑鍒�'
+ state: '鏈惎鐢�'
},
]
const open = () => {
@@ -72,6 +70,17 @@
}
}
+const dialogForm = () => {
+ ElMessageBox.confirm(
+ '鏄惁娓呯┖璇ユ潯淇℃伅?',
+ '鎻愮ず',
+ {
+ confirmButtonText: '鏄�',
+ cancelButtonText: '鍙栨秷',
+ type: 'warning',
+ }
+ )
+}
const gridOptions = reactive({
border: "full",//琛ㄦ牸鍔犺竟妗�
keepSource: true,//淇濇寔婧愭暟鎹�
@@ -122,13 +131,13 @@
<el-table-column prop="id" align="center" label="涓嬬墖浣�" min-width="80" />
<el-table-column prop="long" align="center" label="鏋跺彿" min-width="120" />
<el-table-column prop="wide" align="center" label="娴佺▼鍗″彿" min-width="120" />
- <el-table-column prop="type" align="center" label="鐘舵��" min-width="120" />
- <el-table-column prop="type" align="center" label="璁惧鍙�" min-width="120" />
- <el-table-column prop="type" align="center" label="鍚敤鐘舵��" min-width="120" />
+ <el-table-column prop="wide" align="center" label="鎬绘暟閲�" min-width="120" />
+ <el-table-column prop="wide" align="center" label="宸茶惤鏋舵暟閲�" min-width="120" />
+ <el-table-column prop="state" align="center" label="鍚敤鐘舵��" min-width="120" />
<el-table-column fixed="right" label="鎿嶄綔" align="center" width="200">
<template #default>
- <el-button size="mini" type="text" plain @click="dialogFormVisiblea = true">缁戝畾鏋跺瓙</el-button>
- <el-button size="mini" type="text" plain @click="dialogFormVisiblea = true">娓呯┖</el-button>
+ <el-button size="mini" type="text" plain v-show="state !== '宸插惎鐢�' " @click="dialogFormVisiblea = true">缁戝畾鏋跺瓙</el-button>
+ <el-button size="mini" type="text" plain @click="dialogForm">娓呯┖</el-button>
</template>
</el-table-column>
</el-table>
@@ -140,9 +149,32 @@
<div id="main-body">
<Landingindication></Landingindication>
</div>
- <div id="main-bodya">
+ <!-- <div id="main-bodya">
<Landingindicationtwo></Landingindicationtwo>
- </div></div>
+ </div> -->
+ </div>
+ <el-dialog v-model="dialogFormVisiblea" top="21vh" width="30%" title="缁戝畾鏋跺瓙" >
+ <div style="margin-left: 50px;margin-top: 10px;margin-bottom: 10px;">
+ <el-form size="mini" label-width="150px">
+ <el-form label-width="100px" label-position="right">
+ <el-form-item label="鏋跺彿锛�" :required="true" style="width: 18vw">
+ <el-input autocomplete="off"/>
+ </el-form-item>
+ <el-form-item label="娴佺▼鍗″彿锛�" :required="true" style="width: 18vw;">
+ <el-input autocomplete="off" />
+ </el-form-item>
+ </el-form>
+ </el-form>
+ </div>
+ <template #footer>
+ <div id="dialog-footer">
+ <el-button type="primary" @click="dialogFormVisiblea = false">
+ 纭
+ </el-button>
+ <el-button @click="dialogFormVisiblea = false">鍙栨秷</el-button>
+ </div>
+ </template>
+ </el-dialog>
</template>
<style scoped>
@@ -167,10 +199,6 @@
}
#main-body{
margin-top: -20px;
- margin-left: 300px;
-}
-#main-bodya{
- margin-top: -10px;
- margin-left: 100px;
+ margin-left: 450px;
}
</style>
\ No newline at end of file
--
Gitblit v1.8.0