zhengkaixin 2 years ago
parent
commit
c74de21aa1
1 changed files with 10 additions and 5 deletions
  1. 10 5
      src/views-oa/Document/Person.vue

+ 10 - 5
src/views-oa/Document/Person.vue

@@ -40,7 +40,9 @@
 
 
 					<div class="mui-input-row " v-for="(item,index) in arrangeShiftPersonList"
 					<div class="mui-input-row " v-for="(item,index) in arrangeShiftPersonList"
 						@click="checkboxBtn(item)">
 						@click="checkboxBtn(item)">
-						<label>{{item.auditorName}}</label>
+						<label  :class="{
+							selectcheckboxBtn:selectId.indexOf(item.personId)!=-1
+						}" >{{item.auditorName}}</label>
 						<!-- mui-checkbox
 						<!-- mui-checkbox
 						<input name="checkbox1" :value="item.id" v-model="selectId" type="checkbox"> -->
 						<input name="checkbox1" :value="item.id" v-model="selectId" type="checkbox"> -->
 					</div>
 					</div>
@@ -52,7 +54,7 @@
 					</div>
 					</div>
 				</form>
 				</form>
 				<div class="fyy-footer vongi-footer box-show" id="fyy-footer">
 				<div class="fyy-footer vongi-footer box-show" id="fyy-footer">
-					<h5 class="margin10">已选择人员:</h5>
+					<h5 class="margin10">已选择人员:<span style="float: right;">已选{{selectPerson.length}}人</span></h5>
 					<div class="vongi-yjbtn flew" id="spanLast" :style="'height:'+clientHeight+'px'">
 					<div class="vongi-yjbtn flew" id="spanLast" :style="'height:'+clientHeight+'px'">
 						<span style="height: 24px;" v-for="item,i in selectPerson">{{item.auditorName}}
 						<span style="height: 24px;" v-for="item,i in selectPerson">{{item.auditorName}}
 							<a class="iconfont icon-guanbi1" v-show="item.status==0"
 							<a class="iconfont icon-guanbi1" v-show="item.status==0"
@@ -160,10 +162,10 @@
 				//spanLast
 				//spanLast
 				this.$nextTick(() => {
 				this.$nextTick(() => {
 					var top = document.getElementById("spanLast").scrollHeight;
 					var top = document.getElementById("spanLast").scrollHeight;
-					if (top < 100) {
+					if (top < 500) {
 						this.clientHeight = top;
 						this.clientHeight = top;
 					} else {
 					} else {
-						this.clientHeight = 100;
+						this.clientHeight = 500;
 					}
 					}
 					console.log(top)
 					console.log(top)
 				})
 				})
@@ -312,5 +314,8 @@
 <style src="@/assets/css/xsy.css"></style>
 <style src="@/assets/css/xsy.css"></style>
 <style scoped src="@/assets/css/xpwyfyy.css"></style>
 <style scoped src="@/assets/css/xpwyfyy.css"></style>
 
 
-<style>
+<style>
+	.selectcheckboxBtn{
+		color: #3385FF
+	}
 </style>
 </style>