From 1c42a758e10112a97ae5a129a45d60db6678f302 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 13 三月 2024 12:01:52 +0800
Subject: [PATCH] 工单过程
---
src/views/system/work-order/index.vue | 86 ++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 84 insertions(+), 2 deletions(-)
diff --git a/src/views/system/work-order/index.vue b/src/views/system/work-order/index.vue
index 2ead84c..3153353 100644
--- a/src/views/system/work-order/index.vue
+++ b/src/views/system/work-order/index.vue
@@ -117,6 +117,11 @@
type="text"
@click="handleCheckResult(scope.row)"
>妫�娴嬬粨鏋�</el-button>
+ <el-button
+ size="mini"
+ type="text"
+ @click="handleFlow(scope.row)"
+ >杩囩▼鍥�</el-button>
</template>
</el-table-column>
</el-table>
@@ -272,16 +277,88 @@
<el-button @click="cancel">鍙� 娑�</el-button>
</div>
</el-dialog>
+
+
+ <!-- 杩囩▼鍥� -->
+ <el-dialog title="杩囩▼鍥�" :visible.sync="flowOpen" width="900px" append-to-body>
+ <div>
+ <el-steps :active="1">
+ <el-step title="浜х敓宸ュ崟">
+ <template slot="description">
+ <div>
+ <div class="flow-item-x">
+ 宸ュ崟鏉ユ簮锛�<el-tag type="danger" size="small">{{flowForm.source}}</el-tag>
+ </div>
+ <div class="flow-item-x">
+ 鏁呴殰绫诲瀷锛歿{flowForm.errorType}}
+ </div>
+ <div class="flow-item-x">
+ 杩愮淮鍗曚綅锛歿{flowForm.unitName}}
+ </div>
+ <div class="flow-item-x">
+ 澶勭悊鏈熼檺锛�<el-tag type="danger" size="small">12灏忔椂</el-tag>
+ </div>
+ </div>
+ </template>
+ </el-step>
+ <el-step title="杩愮淮澶勭悊">
+ <template slot="description">
+ <div style="margin-bottom: 8px;padding: 0 3px; background-color: #d9d9d9;display: flex;flex-direction: row;align-items: center">
+ <div style="flex: 2">
+ <div class="flow-item-x">
+ 杩愮淮鐘舵�侊細<el-tag type="danger" size="small">澶勭悊涓�</el-tag>
+ </div>
+ <div class="flow-item-x">
+ 杩愮淮浜哄憳锛�<el-tag type="danger" size="small">{{flowForm.ywPeopleName}}</el-tag>
+ </div>
+ </div>
+ <div style="flex: 1">
+ {{flowForm.ywHandleTime}}
+ </div>
+ </div>
+ <div style="margin-bottom: 8px;padding: 0 3px;background-color: #d9d9d9;display: flex;flex-direction: row;align-items: center">
+ <div style="flex: 2">
+ <div class="flow-item-x">
+ 杩愮淮鐘舵�侊細<el-tag type="danger" size="small">缁撴灉涓婃姤</el-tag>
+ </div>
+ <div class="flow-item-x">
+ 杩愮淮浜哄憳锛�<el-tag type="danger" size="small">{{flowForm.ywPeopleName}}</el-tag>
+ </div>
+ </div>
+ <div style="flex: 1">
+ {{flowForm.ywHandleTime}}
+ </div>
+ </div>
+
+ </template>
+ </el-step>
+ <el-step title="缁撴灉瀹℃牳">
+ <template slot="description">
+ 鏆傛椂涓嶈兘瀹℃牳
+ </template>
+ </el-step>
+ </el-steps>
+ </div>
+ </el-dialog>
+
</div>
</template>
-
+<style scoped>
+.flow-item-x {
+ margin: 5px 0;
+}
+</style>
<script>
import { listWorkOrder, getWorkOrder, delWorkOrder, addWorkOrder, updateWorkOrder,auditing, ywCondition } from "@/api/platform/work-order";
-
export default {
name: "Work-order",
+ components: {
+ },
data() {
return {
+ // 杩囩▼鍥�
+ flowOpen: false,
+ flowForm: {},
certificateList:[],
pictureList: [],
// 閬僵灞�
@@ -383,6 +460,11 @@
this.checkResultForm = row;
this.checkResultOpen = true;
},
+ // 杩囩▼鍥炬煡鐪�
+ handleFlow(row) {
+ this.flowOpen = true;
+ this.flowForm = row;
+ },
// 鎻愪氦瀹℃牳
submitAuditing() {
this.$refs["auditingForm"].validate(valid => {
--
Gitblit v1.8.0