From f0485bd74d1a986ebdf0f6b5ac4050e7d18ee320 Mon Sep 17 00:00:00 2001
From: Admin <978517621@qq.com>
Date: 星期六, 20 八月 2022 16:26:18 +0800
Subject: [PATCH] Default Changelist

---
 src/views/specialWorkSystem/workTicket/workApply/components/plate.vue |   26 ++++----------------------
 1 files changed, 4 insertions(+), 22 deletions(-)

diff --git a/src/views/specialWorkSystem/workTicket/workApply/components/plate.vue b/src/views/specialWorkSystem/workTicket/workApply/components/plate.vue
index 446765d..2011795 100644
--- a/src/views/specialWorkSystem/workTicket/workApply/components/plate.vue
+++ b/src/views/specialWorkSystem/workTicket/workApply/components/plate.vue
@@ -9,9 +9,9 @@
 						<el-select v-model="form.operatorUids" multiple>
 							<el-option
 									v-for="item in workerList"
-									:key="item.value"
-									:label="item.label"
-									:value="item.value"
+									:key="item.uid"
+									:label="item.username"
+									:value="item.uid"
 							/>
 						</el-select>
 					</el-form-item>
@@ -198,7 +198,6 @@
 
 	interface stateType {
 		form: Object,
-		workerList: Array<any>,
 		csDepList: Array<any>,
 		otherWorkList: Array<any>,
 		workLevelList: Array<any>
@@ -206,6 +205,7 @@
 	export default defineComponent({
 		name: 'brokenForm',
 		components: {},
+		props:['workerList'],
 		setup() {
 			const userInfo = useUserInfo()
 			const { userInfos } = storeToRefs(userInfo);
@@ -234,24 +234,6 @@
 					expStartTime: '',
 					expEndTime: ''
 				},
-				workerList:[
-					{
-						label: "张三",
-						value: 53
-					},
-					{
-						label: "李四",
-						value: 54
-					},
-					{
-						label: "测试一",
-						value: 55
-					},
-					{
-						label: "测试二",
-						value: 56
-					}
-				],
 				workLevelList: [
 					{
 						label: "抽盲板作业",

--
Gitblit v1.9.2