From cc610ef597a4b600b4c48c80026f3a99be171f3b Mon Sep 17 00:00:00 2001
From: yuanhao <yuanhao_2024>
Date: 星期一, 19 五月 2025 18:03:48 +0800
Subject: [PATCH] fix: scss跟背景图

---
 policy/policyApply/policyApply.vue |   25 +++++++++++++++++++++----
 1 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/policy/policyApply/policyApply.vue b/policy/policyApply/policyApply.vue
index 69b4c6d..cb692c0 100644
--- a/policy/policyApply/policyApply.vue
+++ b/policy/policyApply/policyApply.vue
@@ -315,6 +315,11 @@
 			},
 			setCompany(e) {
 				this.form.companyName = e
+				this.form.companyCode = ''
+				this.form.companyId	 = ''	
+				this.form.companyPhone = ''
+				this.form.companyUser = ''
+				this.form.companyAddress = ''
 			},
 			confirmTime(e) {
 				this.form.planTime = e.year + '-' + e.month+ '-' + + e.day + ' ' + e.hour + ":" + "00:00"
@@ -341,8 +346,20 @@
 				this.$refs.perpage.open(this.list)
 			},
 			selectValue(value) {
-				this.form.peers = value
-			
+				value.forEach(val => {
+					this.form.peers.push(val)
+				});
+				this.form.peers = this.uniqueArrJson(this.form.peers,'peerId')
+			},
+			uniqueArrJson(arr,key) {
+			  var newobj = {},newArr = [];
+			  for(var i=0;i<arr.length;i++){
+			      var item = arr[i];
+			    if(!newobj[item[key]]){
+			          newobj[item[key]] = newArr.push(item);
+			    }
+			  }
+			  return newArr;
 			}
 		}
 	}
@@ -406,7 +423,7 @@
 				
 			}
 			.back{
-				/deep/ .u-textarea{
+				::v-deep .u-textarea{
 					background-color: #F4F4F4;
 					border: none;
 					.u-textarea__count{
@@ -455,7 +472,7 @@
 .sui{
 
 }
-/deep/  .u-checkbox-label--right >  text{
+::v-deep  .u-checkbox-label--right >  text{
 		line-height: 54rpx !important;
 		margin-right: 15rpx;
 }

--
Gitblit v1.9.1