From 943b68c17b27f3b0f9973533f832c48dd6afbb6f Mon Sep 17 00:00:00 2001
From: zzw <228544128@qq.com>
Date: 星期二, 06 十月 2026 15:01:53 +0800
Subject: [PATCH] feat: reorganize system menus and add error logs
---
emergency-repair-web/src/views/fault/SimpleApproval.vue | 26 ++++++++++++++------------
1 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/emergency-repair-web/src/views/fault/SimpleApproval.vue b/emergency-repair-web/src/views/fault/SimpleApproval.vue
index 0f398ab..b4e8421 100644
--- a/emergency-repair-web/src/views/fault/SimpleApproval.vue
+++ b/emergency-repair-web/src/views/fault/SimpleApproval.vue
@@ -9,7 +9,7 @@
</div>
<div class="toolbar">
- <el-input v-model="keyword" placeholder="鏁呴殰缂栧彿 / 瑁呭鍚嶇О / 宸ョ▼鍚嶇О鍙婃崯鍧忔儏鍐�" clearable style="width:320px" @keyup.enter.native="load"></el-input>
+ <el-input v-model="keyword" placeholder="鏁呴殰缂栧彿 / 璁惧鍚嶇О / 宸ョ▼鍚嶇О鍙婃崯鍧忔儏鍐�" clearable style="width:320px" @keyup.enter.native="load"></el-input>
<el-button icon="el-icon-search" type="primary" @click="load">鏌ヨ</el-button>
<el-button icon="el-icon-refresh" @click="load">鍒锋柊</el-button>
<div class="spacer"></div>
@@ -17,19 +17,19 @@
</div>
<div class="table-panel">
- <el-table :data="rows" border stripe height="calc(100vh - 230px)" :header-cell-style="{ textAlign: 'center' }" @selection-change="selection = $event">
+ <el-table :data="rows" border stripe height="calc(100vh - 270px)" :header-cell-style="{ textAlign: 'center' }" @selection-change="selection = $event">
<el-table-column type="selection" width="46"></el-table-column>
<el-table-column prop="taskStatus" label="浠诲姟鐘舵��" width="145" fixed>
<template slot-scope="{ row }"><el-tag size="mini" :type="taskMeta(row.taskStatus).type">{{ taskMeta(row.taskStatus).text }}</el-tag></template>
</el-table-column>
<el-table-column prop="faultCode" label="鏁呴殰缂栧彿" width="180" fixed></el-table-column>
- <el-table-column prop="xNo" label="X鍙�" width="64"></el-table-column>
- <el-table-column prop="equipmentName" label="瑁呭鍚嶇О" min-width="210" show-overflow-tooltip></el-table-column>
+ <el-table-column prop="xNo" label="rk_X鍙�" width="64"></el-table-column>
+ <el-table-column prop="equipmentName" label="璁惧鍚嶇О" min-width="210" show-overflow-tooltip></el-table-column>
<el-table-column prop="parentSystem" label="鎵�灞炰笂绾х郴缁�" min-width="120"></el-table-column>
<el-table-column prop="engineeringNameDesc" label="宸ョ▼鍚嶇О鍙婃崯鍧忔儏鍐�" min-width="210" show-overflow-tooltip></el-table-column>
<el-table-column prop="repairRequirement" label="淇悊鎶�鏈姹�" min-width="200" show-overflow-tooltip></el-table-column>
<el-table-column prop="engineeringMajor" label="宸ョ▼涓撲笟" width="100"></el-table-column>
- <el-table-column prop="teamMajor" label="T闃熶笓涓�" width="100"></el-table-column>
+ <el-table-column prop="teamMajor" label="rk_T闃熶笓涓�" width="100"></el-table-column>
<el-table-column prop="owner" label="璐熻矗浜�" width="90"></el-table-column>
<el-table-column prop="reportUnit" label="涓婃姤鍗曚綅" min-width="130"></el-table-column>
<el-table-column prop="reportDate" label="涓婃姤鏃ユ湡" width="110" align="center"></el-table-column>
@@ -39,7 +39,7 @@
<el-table-column label="鏄惁鑷慨" width="90" align="center">
<template slot-scope="{ row }">{{ yesNo(row.isSelfRepair) }}</template>
</el-table-column>
- <el-table-column label="鏄惁娑塇" width="90" align="center">
+ <el-table-column label="鏄惁娑塺k_H" width="90" align="center">
<template slot-scope="{ row }">{{ yesNo(row.isHRelated) }}</template>
</el-table-column>
<el-table-column label="鐩戞祴椤圭洰" width="90" align="center">
@@ -66,7 +66,7 @@
<el-form-item label="瀹℃壒鎰忚">
<el-input v-model="form.opinion" type="textarea" :rows="3" placeholder="璇峰~鍐欏鎵规剰瑙�"></el-input>
</el-form-item>
- <el-alert v-if="form.result === 'REJECT'" :closable="false" type="warning" show-icon title="瀹℃壒涓嶉�氳繃鏃剁洿鎺ラ��鍥瀀CB鍔╃悊锛屼换鍔$姸鎬佸彉涓衡�滀笂绾ф墦鍥炩�濄��"></el-alert>
+ <el-alert v-if="form.result === 'REJECT'" :closable="false" type="warning" show-icon title="瀹℃壒涓嶉�氳繃鏃剁洿鎺ラ��鍥瀝k_XCB鍔╃悊锛屼换鍔$姸鎬佸彉涓衡�滀笂绾ф墦鍥炩�濄��"></el-alert>
</el-form>
<template slot="footer">
<el-button @click="dialogVisible = false">鍙栨秷</el-button>
@@ -81,19 +81,21 @@
export default {
name: 'SimpleApproval',
+ props: {
+ stage: { type: String, required: true }
+ },
data() {
return { rows: [], selection: [], keyword: '', dialogVisible: false, saving: false, form: { result: 'PASS', opinion: '' } }
},
computed: {
- stage() { return this.$route.meta.stage },
pageTitle() {
- return { CMB: 'CMB棰嗗瀹℃壒', JCC_ASSISTANT: 'JCC鍔╃悊瀹℃壒', JCC_DIRECTOR: 'JCC澶勯暱瀹℃壒' }[this.stage]
+ return { CMB: 'rk_CMB棰嗗瀹℃壒', JCC_ASSISTANT: 'rk_JCC鍔╃悊瀹℃壒', JCC_DIRECTOR: 'rk_JCC澶勯暱瀹℃壒' }[this.stage]
},
subtitle() {
return {
- CMB: '瀵筙CB鍔╃悊瀹℃牳瀹屾垚鐨勬晠闅滆繘琛屾壒閲忛�氳繃鎴栭��鍥�',
- JCC_ASSISTANT: '瀵笴MB棰嗗瀹℃壒瀹屾垚鐨勬晠闅滆繘琛屾壒閲忛�氳繃鎴栭��鍥�',
- JCC_DIRECTOR: '瀵笿CC鍔╃悊瀹℃壒瀹屾垚鐨勬晠闅滆繘琛屾渶缁堝鎵癸紝閫氳繃鍚庤繘鍏ユ淳鍗�'
+ CMB: '瀵箁k_XCB鍔╃悊瀹℃牳瀹屾垚鐨勬晠闅滆繘琛屾壒閲忛�氳繃鎴栭��鍥�',
+ JCC_ASSISTANT: '瀵箁k_CMB棰嗗瀹℃壒瀹屾垚鐨勬晠闅滆繘琛屾壒閲忛�氳繃鎴栭��鍥�',
+ JCC_DIRECTOR: '瀵箁k_JCC鍔╃悊瀹℃壒瀹屾垚鐨勬晠闅滆繘琛屾渶缁堝鎵癸紝閫氳繃鍚庤繘鍏ユ淳鍗�'
}[this.stage]
},
status() {
--
Gitblit v1.9.1