From b66453b8b4a7ba6dc94127bb5c9a6647519e447a Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 04 六月 2025 13:40:00 +0800
Subject: [PATCH] 配煤计算页面开发
---
src/views/production/index.vue | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/src/views/production/index.vue b/src/views/production/index.vue
index 1838b1b..c113e9f 100644
--- a/src/views/production/index.vue
+++ b/src/views/production/index.vue
@@ -8,11 +8,10 @@
</div>
<div class="operation-bar">
- <el-button type="primary" @click="handleAdd">鏂板閰嶉」</el-button>
- <el-button type="success" @click="handleAddBatch">鏂板鍔犲伐</el-button>
- <el-button type="warning">淇敼</el-button>
- <el-button type="danger">鍒犻櫎</el-button>
- <el-button type="info">瀵煎嚭</el-button>
+ <!-- <el-button type="primary" @click="handleAdd">鏂板閰嶉」</el-button> -->
+ <el-button type="success" :icon="Plus" @click="handleAddBatch">鏂板鍔犲伐</el-button>
+ <el-button type="danger" :icon="Delete">鍒犻櫎</el-button>
+ <el-button type="info" :icon="Download">瀵煎嚭</el-button>
</div>
<el-table :data="tableData" border style="width: 100%" @selection-change="handleSelectionChange">
@@ -52,7 +51,7 @@
</div>
<!-- 寮圭獥缁勪欢 -->
- <ProductionDialog-dialog
+ <ProductionDialog
v-model:visible="dialogVisible"
:type="dialogType"
:row-data="currentRow"
@@ -64,7 +63,7 @@
<script setup>
import { ref, reactive, onMounted } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
-import { getProductionList, addProduction, updateProduction, deleteProduction, exportProduction } from '@/api/production'
+import { Plus, Delete, Download } from "@element-plus/icons-vue";
import ProductionDialog from './components/ProductionDialog.vue'
// 鎼滅储琛ㄥ崟鏁版嵁
--
Gitblit v1.9.3