From 964faa1077a89713910063c39ebe08fac4e4c56e Mon Sep 17 00:00:00 2001 From: Houjie <714924425@qq.com> Date: 星期四, 24 七月 2025 17:44:18 +0800 Subject: [PATCH] 企业维修适配修改 --- pages/TaskManager/TaskManagerList.vue | 36 ++++++++++++++++++++++-------------- 1 files changed, 22 insertions(+), 14 deletions(-) diff --git a/pages/TaskManager/TaskManagerList.vue b/pages/TaskManager/TaskManagerList.vue index e8cbec6..b4a3e42 100644 --- a/pages/TaskManager/TaskManagerList.vue +++ b/pages/TaskManager/TaskManagerList.vue @@ -16,11 +16,11 @@ <!-- 鍩虹琛ㄥ崟鏍¢獙 --> <uni-forms ref="form" :modelValue="formData" validate-trigger="bind" err-show-type="undertext"> <uni-group title="" top="0"> - <uni-forms-item name="type" :labelWidth="80" label="娴佺▼鍒嗙被:"> + <uni-forms-item name="type" :labelWidth="80" label="娴佺▼鍒嗙被:"> <uni-data-select v-model="formData.type" :localdata="storageTypeList" @change="changeSelectType" /> </uni-forms-item> - <uni-forms-item name="num" :labelWidth="80" label="璁惧缂栧彿:"> + <uni-forms-item name="num" :labelWidth="80" label="璁惧缂栧彿:"> <uni-easyinput v-model="formData.num" placeholder="璇疯緭鍏ヨ澶囩紪鍙�" /> </uni-forms-item> </uni-group> @@ -49,16 +49,17 @@ @click="onClickProductionTask(item)"> <view class="flex"> <view class="flex-sub text-light bg-white padding-xs margin-xs radius">娴佺▼鍒嗙被:</view> - <view class="flex-sub bg-white padding-xs margin-xs text-bold text-blue radius text-right"> + <view + class="flex-sub bg-white padding-xs margin-xs text-bold text-blue radius text-right"> {{item.category_dictText}} </view> </view> - <view class="flex"> + <!-- <view class="flex"> <view class="flex-sub text-light bg-white padding-xs margin-xs radius">娴佺▼鍚嶇О:</view> <view class="flex-sub bg-white padding-xs margin-xs text-bold radius text-right"> {{item.procDefName}} </view> - </view> + </view> --> <view class="flex"> <view class="flex-sub text-light bg-white padding-xs margin-xs radius">浠诲姟鍚嶇О:</view> <view class="flex-sub bg-white padding-xs margin-xs text-orange radius text-right"> @@ -97,7 +98,7 @@ scrollLeft: 0, formData: { type: '', - num:'' + num: '' }, storageTypeList: [], NavBarColor: this.NavBarColor, @@ -190,9 +191,9 @@ case (name === '鍛ㄤ繚鎵ц' && type === '璁惧鍛ㄤ繚'): url = '/pages/ToDoList/ToDoBaoZhouSure/ToDoBaoZhouSure'; break; - case (name === '鍛ㄤ繚棰嗗彇' && type === '璁惧鍛ㄤ繚'): - url = '/pages/ToDoList/ToDoBaoZhouSure/ToDoBaoZhouSure'; - break; + case (name === '鍛ㄤ繚棰嗗彇' && type === '璁惧鍛ㄤ繚'): + url = '/pages/ToDoList/ToDoBaoZhouSure/ToDoBaoZhouSure'; + break; case (name === '鐝粍闀跨‘璁�' && type === '璁惧鐐规'): url = '/pages/ToDoList/ToDoListCheckSure/ToDoListCheckSure'; break; @@ -214,6 +215,9 @@ case (name === '缁翠慨鎵ц' && type === '璁惧缁翠慨'): url = '/pages/ToDoList/ToDoSpareParts/ToDoSpareParts'; break; + case (name === '缁翠慨宸ユ帴鍗�' && type === '璁惧缁翠慨'): + url = '/pages/ToDoList/ToDoSpareParts/ToDoSpareParts'; + break; case (name === '鐐规宸ュ崟' && type === '璁惧鐐规'): url = '/pages/ToDoList/ToDoListCheckSure/ToDoListCheckSure'; break; @@ -226,10 +230,14 @@ } if (url) { - uni.redirectTo({ + uni.navigateTo({ url: `${url}?item=${encodeURIComponent(JSON.stringify(item))}&flag=${flag}` }); + // uni.redirectTo({ + + // url: `${url}?item=${encodeURIComponent(JSON.stringify(item))}&flag=${flag}` + // }); } }, @@ -277,8 +285,8 @@ /* 閲嶇疆鏌ヨ鏉′欢 */ resetTask() { this.formData.type = '', - this.formData.num='', - this.$refs.popup.close(); + this.formData.num = '', + this.$refs.popup.close(); this.mescroll.resetUpScroll() }, @@ -294,7 +302,7 @@ column: 'createTime', order: 'desc', category: this.formData.type, - title:this.formData.num + title: this.formData.num }, }).then(res => { @@ -348,7 +356,7 @@ } .popupView { - margin-top: 45px; + margin-top: 55px; height: auto; } </style> \ No newline at end of file -- Gitblit v1.9.3