From 4cd8e9bbc50e6de18dc53db86c74672f2f3e4aff Mon Sep 17 00:00:00 2001
From: zhangdi <15053473693@163.com>
Date: Tue, 10 Feb 2026 10:18:12 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E5=B7=A5=E8=B0=83=E6=95=B4=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E9=80=BB=E8=BE=91=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../productionManagement/js/wordReporting.js | 6 +-
.../workReportingManagement.vue | 65 ++++++++++++++++---
2 files changed, 58 insertions(+), 13 deletions(-)
diff --git a/src/views/productionManagement/js/wordReporting.js b/src/views/productionManagement/js/wordReporting.js
index e7b22b0..e37db29 100644
--- a/src/views/productionManagement/js/wordReporting.js
+++ b/src/views/productionManagement/js/wordReporting.js
@@ -54,8 +54,7 @@ export default {
span: 24,
overflow: true,
search: false,
- cell:true
-
+ // cell:true,
},
{
label: '现接收人',
@@ -63,7 +62,7 @@ export default {
span: 24,
overflow: true,
search: false,
-
+ // cell: true,
},
{
label: '报工人详情',
@@ -71,7 +70,6 @@ export default {
span: 24,
overflow: true,
search: false,
-
},
],
'workReportingLog': [
diff --git a/src/views/productionManagement/workReportingManagement.vue b/src/views/productionManagement/workReportingManagement.vue
index 290e2e6..2fa92a2 100644
--- a/src/views/productionManagement/workReportingManagement.vue
+++ b/src/views/productionManagement/workReportingManagement.vue
@@ -13,7 +13,6 @@
v-model="form"
v-model:page="page"
ref="crud"
- @row-del="rowDel"
@search-change="searchChange"
@search-reset="searchReset"
@selection-change="selectionChange"
@@ -28,12 +27,25 @@
- 保存
- 转班
+ 保存
+ 转班
@@ -41,6 +53,28 @@
详情
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -51,7 +85,7 @@
-
+
@@ -82,6 +116,8 @@
import wordReporting from './js/wordReporting';
import workReportingData from './js/workReportingData';
import { getTeamSetList } from '@/api/processManagement/taskProcessing';
+import { getRoleUserList } from '@/api/processManagement/taskDispatch';
+
import {
getList,
getRecordList,
@@ -126,7 +162,7 @@ export default {
tree: false,
border: true,
index: true,
- selection: true,
+ selection: false,
viewBtn: false,
delBtn: false,
editBtn: false,
@@ -155,13 +191,22 @@ export default {
column: [],
},
teamSetList: [], //班组列表
+ userOptions: [], //接收人列表
};
},
mounted() {
this.option.menu = false;
this.option.column = wordReporting[this.tabPosition];
+ this.getTeamSetList();
+ this.getRoleUserList();
},
methods: {
+ // 获取人员
+ getRoleUserList() {
+ getRoleUserList({ current: 1, size: 9999999 }).then(res => {
+ this.userOptions = res.data.data.records;
+ });
+ },
// 获取班组列表
getTeamSetList() {
getTeamSetList().then(res => {
@@ -170,8 +215,12 @@ export default {
},
// 扫描流程卡号 获取数据
handleSearchInput(key, value) {
+ this.loading= true
getDataByCardNo({ cardNo: this.searchForm.cardNo }).then(res => {
+ this.loading= false
this.data = res.data.data.record;
+ }).catch(() => {
+ this.loading= false
});
},
// 保存
@@ -224,9 +273,7 @@ export default {
}
});
},
- selectionChange(){
-
- },
+ selectionChange() {},
currentChange(currentPage) {
this.page.currentPage = currentPage;
this.onLoad(this.page, this.query);