From 655aee70727fe0479442d02cec27114eaed15872 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 21 三月 2025 14:40:19 +0800
Subject: [PATCH] 人员-样式优化
---
src/views/business/costStatistics/index.vue | 35 ++++++++++++++++++++++++++++++-----
1 files changed, 30 insertions(+), 5 deletions(-)
diff --git a/src/views/business/costStatistics/index.vue b/src/views/business/costStatistics/index.vue
index 6243ee8..221cfd4 100644
--- a/src/views/business/costStatistics/index.vue
+++ b/src/views/business/costStatistics/index.vue
@@ -1,4 +1,5 @@
<template>
+<!-- 璐圭敤缁熻椤甸潰-->
<div class="capacity-scope">
<div class="search">
<div>
@@ -16,8 +17,8 @@
</el-select>
</el-form-item>
<el-form-item>
- <el-button type="primary" icon="el-icon-search" size="mini" @click="refreshTable">鏌� 璇�</el-button>
- <el-button icon="el-icon-refresh" size="mini" @click="refresh">閲� 缃�</el-button>
+ <el-button type="primary" size="mini" @click="refreshTable">鏌ヨ</el-button>
+ <el-button size="mini" @click="refresh">閲嶇疆</el-button>
</el-form-item>
</el-form>
</div>
@@ -27,16 +28,18 @@
:height="'calc(100vh - 250px)'" @pagination="pagination"
:page="page" :tableLoading="tableLoading"></lims-table>
</div>
+ <viewInfoDia ref="viewInfoDia" v-if="viewInfoDia"></viewInfoDia>
</div>
</template>
<script>
import limsTable from "@/components/Table/lims-table.vue";
+import viewInfoDia from "./components/viewInfoDia.vue";
import {selectRatesPage} from "@/api/business/insOrderRates";
import {selectCustomPageList} from "@/api/system/customer";
export default {
- components: {limsTable},
+ components: {limsTable,viewInfoDia},
data() {
return {
entity: {
@@ -54,14 +57,29 @@
{ label: '濮旀墭浜�', prop: 'prepareUser' },
{ label: '鐢熶骇鍗曚綅', prop: 'production' },
{ label: '宸ョ▼鍚嶇О', prop: 'engineering' },
- { label: '宸ユ椂', prop: 'cost' }
+ { label: '宸ユ椂', prop: 'cost' },
+ {
+ dataType: "action",
+ fixed: "right",
+ label: "鎿嶄綔",
+ operation: [
+ {
+ name: "鏌ョ湅璇︽儏",
+ type: "text",
+ clickFun: (row) => {
+ this.openDia(row)
+ },
+ },
+ ],
+ }
],
page: {
total: 0,
size: 10,
current: 1
},
- companyOptions: []
+ companyOptions: [],
+ viewInfoDia: false
}
},
mounted() {
@@ -106,6 +124,13 @@
this.page.size = page.limit
this.refreshTable()
},
+ // 鏌ョ湅璇︽儏
+ openDia (row) {
+ this.viewInfoDia = true
+ this.$nextTick(() => {
+ this.$refs.viewInfoDia.openDia(row)
+ })
+ },
}
}
</script>
--
Gitblit v1.9.3