gjy пре 2 година
родитељ
комит
bda263b2f8

+ 2 - 2
config/index.js

@@ -7,9 +7,9 @@ const dev = {
 	// baseUrlNew: 'http://192.168.1.122:8090/',
 	// baseUrlNew: 'http://192.168.1.122:8090/',
 	// baseUrlNew: 'http://192.168.110.82:8099/',
 	// baseUrlNew: 'http://192.168.110.82:8099/',
 	// baseUrlNew: 'http://192.168.110.202:8090/',
 	// baseUrlNew: 'http://192.168.110.202:8090/',
-	// baseUrlNew: 'http://192.168.110.138:8090/',
+	baseUrlNew: 'http://192.168.110.138:8090/',
 	// 上传图片的
 	// 上传图片的
-	baseUrlNew: 'https://api2.eliangeyun.com/',
+	// baseUrlNew: 'https://api2.eliangeyun.com/',
 	h5Appid: 'wxb66b599f7f61b46f',
 	h5Appid: 'wxb66b599f7f61b46f',
 	debug: false
 	debug: false
 }
 }

+ 211 - 0
pages/task/audit/Issueandreceipt_task_approval.vue

@@ -242,6 +242,53 @@
 					</view>
 					</view>
 
 
 				</view>
 				</view>
+				<view class="content2">
+					<view class="title row">
+						流程
+					</view>
+					<view v-for="(item,index) in auditList" :key='index' class="audit">
+						<view class="row">
+							<view class="left">
+								<view class="item1">
+									<view class="item-content">{{item.operatorTitle}}</view> 
+									<view v-if="item.status=='success'" class='status success'>
+										<u-icon name="checkmark" color="#2979ff" size="28"></u-icon>
+									</view>
+									<view v-if="item.status=='error'" class='status error'>
+										<u-icon name="close" color="rgb(245, 108, 108)" size="28"></u-icon>
+									</view>
+									<view  v-if="item.status=='question'" class='status question'>
+										<u-icon name="question" color="#f9ae3d" size="28"></u-icon>
+									</view>
+								</view>
+								<view class="item2">
+									<view class="name">{{item.desc}}
+									</view>
+									<view class='time'>{{item.updateDate}}</view>
+									<view  v-if="item.status=='success'" class="status success">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>已审核</text></view>
+									<!-- <view  v-if="item.status='error'" class="status error">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已审核":'未审核'}}</text></view> -->
+									<view  v-if="item.status=='question'" class="status question">{{item.commonStaffs1?item.staffscontent:''}}<text v-if='!item.commonStaffs1'>未审核</text></view>
+									<!-- <view  class="status success">吕波(已审核)</view> -->
+								</view>
+							</view>
+							<view v-if='item.commonStaffs1&&item.commonStaffs1.length>0' class="right">
+								<u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'"  size="28"></u-icon>
+							</view>
+						</view>
+						<view v-if='item.showflow' style='padding:10px 0 0 50px;'>
+							<view class='row2'>
+								<view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
+									<view class="item-content">
+										<u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
+										<u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
+									</view> 
+									<view class="name">{{item1.staffName}}</view> 
+								</view>
+							</view>
+						</view>
+						<view class="row-line" v-if="index!= auditList.length - 1"></view>
+					</view>
+				</view>
 			</u-form>
 			</u-form>
 		</view>
 		</view>
 		<view v-if='show1' class="shade">
 		<view v-if='show1' class="shade">
@@ -291,6 +338,7 @@
 				type: '移库',
 				type: '移库',
 				show: false,
 				show: false,
 				show1: false,
 				show1: false,
+				auditList:[],
 				auditMind: '',
 				auditMind: '',
 				pjList: [{
 				pjList: [{
 						type: '一等品'
 						type: '一等品'
@@ -329,6 +377,9 @@
 			...mapState(['hasLogin', 'userInfo']),
 			...mapState(['hasLogin', 'userInfo']),
 		},
 		},
 		methods: {
 		methods: {
+			showcontent(item){
+				item.showflow=!item.showflow
+			},
 			getList() {
 			getList() {
 				this.$api.doRequest('get', '/inOutWarehouseTask/getTask', {
 				this.$api.doRequest('get', '/inOutWarehouseTask/getTask', {
 					id: this.id
 					id: this.id
@@ -380,6 +431,64 @@
 						})
 						})
 					}
 					}
 				})
 				})
+				this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
+					businessCode: 'INOUTTASK-TASK-APPROVE',
+					tmpCompId: uni.getStorageSync('pcUserInfo').compId
+				}).then(res1 => {
+					this.$api.doRequest('get', '/commonUser/getHis', {
+						workflowId: res1.data.data[0].id,
+						businessKey: this.id
+					}).then(response => {
+						// uni.hideLoading()
+						for (let i = 0; i < response.data.data.length; i++) {
+							
+							this.$set(response.data.data[i],'status','question')
+							console.log(response.data.data[i].workflowHistoricTasks,i)
+							if(response.data.data[i].commonStaffs&&response.data.data[i].commonStaffs.length>0){
+								response.data.data[i].showflow=false
+								response.data.data[i].operatorTitle=response.data.data[i].desc[0]
+								response.data.data[i].operatorName=response.data.data[i].desc
+								response.data.data[i].staffscontent='共'+response.data.data[i].commonStaffs.length+'人,当前审核'+response.data.data[i].workflowHistoricTasks.length+'人'
+								if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
+									if(response.data.data[i].workflowHistoricTasks.length!=response.data.data[i].commonStaffs.length){
+										// response.data.data[i].status='question'
+										this.$set(response.data.data[i],'status','question')
+									}else{
+										this.$set(response.data.data[i],'status','success')
+										// response.data.data[i].status='success'
+									}
+									response.data.data[i].workflowlen=response.data.data[i].workflowHistoricTasks.length
+									var workflowdata=response.data.data[i].workflowHistoricTasks
+									var staffsdata=response.data.data[i].commonStaffs
+									for (let q = 0; q < staffsdata.length; q++) {
+										staffsdata[q].status=false
+										staffsdata[q].staffTitle=staffsdata[q].staffName
+										for (let k = 0; k < workflowdata.length; k++) {
+											if(staffsdata[q].staffId==workflowdata[k].operatorId){
+												staffsdata[q].status=true
+											}
+										}
+									}
+								}
+								response.data.data[i].commonStaffs1=response.data.data[i].commonStaffs
+							}else{
+								if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
+									this.$set(response.data.data[i],'status','success')
+									response.data.data[i].operatorTitle=response.data.data[i].workflowHistoricTasks[0].operatorName[0]
+									response.data.data[i].operatorName=response.data.data[i].workflowHistoricTasks[0].operatorName
+								}else{
+									this.$set(response.data.data[i],'status','question')
+									// response.data.data[i].status='question'
+									response.data.data[i].operatorTitle=response.data.data[i].desc[0]
+									response.data.data[i].operatorName=response.data.data[i].desc
+								}
+							}
+							
+						}
+						console.log(response.data.data)
+						this.auditList = response.data.data
+					})
+				})
 			},
 			},
 			pjPicker(e) {
 			pjPicker(e) {
 				this.OutList.grade = this.pjList[e[0]].type
 				this.OutList.grade = this.pjList[e[0]].type
@@ -1023,4 +1132,106 @@
 	/deep/.u-input__textarea {
 	/deep/.u-input__textarea {
 		height: 300rpx !important;
 		height: 300rpx !important;
 	}
 	}
+	.content2 {
+		background: white;
+		margin: 20rpx 0;
+		border-radius: 20rpx;
+		padding: 20rpx;
+	
+		.row {
+			display: flex;
+			justify-content: space-between;
+	
+			.left {
+				display: flex;
+				align-items: center;
+				.item1{
+					position:relative;
+					.item-content{
+						background:#22C572;
+					    width: 50px;
+					    height: 50px;
+					    border-radius: 50%;
+					    line-height: 50px;
+					    text-align: center;
+					    font-size: 20px;
+					    color: #fff;
+					}
+					.status{
+						position:absolute;
+						border-radius: 50%;
+						padding: 1px 2px;
+						right: 0;
+						bottom: 0;
+						background:#fff;
+					}
+					.status.success{
+						border:1px solid rgb(60, 156, 255);
+					}
+					.status.error{
+						border:1px solid rgb(245, 108, 108);
+					}
+					.status.question{
+						border:1px solid #f9ae3d;
+					}
+				}
+				.item2 {
+					margin-left: 20rpx;
+	
+					.name {
+						font-size: 32rpx;
+						font-weight: 800;
+					}
+	
+					.status.success {
+						color: #6CC48C;
+					}
+					.status.error {
+						color: rgb(245, 108, 108);
+					}
+					.status.question {
+						color: #f9ae3d;
+					}
+					.time{
+						color:#999;
+					}
+				}
+			}
+	
+			.right {
+				color: #B0B1B5;
+				margin-top: 10px;
+			}
+		}
+		.row2{
+			display:flex;
+			.item-content{
+				background:#22C572;
+			    width: 30px;
+			    height: 30px;
+			    border-radius: 50%;
+			    line-height: 30px;
+			    text-align: center;
+			    font-size: 12px;
+			    color: #fff;
+				padding:0 2px;
+				margin:0 auto;
+			}
+			.status{
+				position:absolute;
+				top:0;right:0;
+			}
+		}
+		.row-line {
+			width: 1px;
+			height: 30px;
+			background: #F2F2F2;
+			margin: 10rpx 50rpx;
+	
+		}
+	
+		.audit {
+			margin-top: 20rpx;
+		}
+	}
 </style>
 </style>

+ 15 - 60
pages/task/audit/acquisitioncontract.vue

@@ -121,13 +121,13 @@
 						<view class="left">
 						<view class="left">
 							<view class="item1">
 							<view class="item1">
 								<view class="item-content">{{item.operatorTitle}}</view> 
 								<view class="item-content">{{item.operatorTitle}}</view> 
-								<view v-if="item.status='success'" class='status success'>
+								<view v-if="item.status=='success'" class='status success'>
 									<u-icon name="checkmark" color="#2979ff" size="28"></u-icon>
 									<u-icon name="checkmark" color="#2979ff" size="28"></u-icon>
 								</view>
 								</view>
-								<view v-if="item.status='error'" class='status error'>
+								<view v-if="item.status=='error'" class='status error'>
 									<u-icon name="close" color="rgb(245, 108, 108)" size="28"></u-icon>
 									<u-icon name="close" color="rgb(245, 108, 108)" size="28"></u-icon>
 								</view>
 								</view>
-								<view  v-if="item.status='question'" class='status question'>
+								<view  v-if="item.status=='question'" class='status question'>
 									<u-icon name="question" color="#f9ae3d" size="28"></u-icon>
 									<u-icon name="question" color="#f9ae3d" size="28"></u-icon>
 								</view>
 								</view>
 							</view>
 							</view>
@@ -135,72 +135,29 @@
 								<view class="name">{{item.desc}}
 								<view class="name">{{item.desc}}
 								</view>
 								</view>
 								<view class='time'>{{item.updateDate}}</view>
 								<view class='time'>{{item.updateDate}}</view>
-								<view :class="{'color':item.approved ? 'green':'red'}" class="status">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已审核":'未审核'}}</text></view>
+								<view  v-if="item.status=='success'" class="status success">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>已审核</text></view>
+								<!-- <view  v-if="item.status='error'" class="status error">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已审核":'未审核'}}</text></view> -->
+								<view  v-if="item.status=='question'" class="status question">{{item.commonStaffs1?item.staffscontent:''}}<text v-if='!item.commonStaffs1'>未审核</text></view>
 								<!-- <view  class="status success">吕波(已审核)</view> -->
 								<!-- <view  class="status success">吕波(已审核)</view> -->
 							</view>
 							</view>
 						</view>
 						</view>
 						<view v-if='item.commonStaffs1' class="right">
 						<view v-if='item.commonStaffs1' class="right">
-							<u-icon @click='showcontent(item)' :name="showflow?'arrow-up':'arrow-down'"  size="28"></u-icon>
+							<u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'"  size="28"></u-icon>
 						</view>
 						</view>
 					</view>
 					</view>
 					<view v-if='item.showflow' style='padding:10px 0 0 50px;'>
 					<view v-if='item.showflow' style='padding:10px 0 0 50px;'>
 						<view class='row2'>
 						<view class='row2'>
 							<view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
 							<view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
-								<view class="item-content">{{item1.staffTitle}}</view> 
+								<view class="item-content">
+									<u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
+									<u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
+								</view> 
 								<view class="name">{{item1.staffName}}</view> 
 								<view class="name">{{item1.staffName}}</view> 
 							</view>
 							</view>
 						</view>
 						</view>
 					</view>
 					</view>
 					<view class="row-line" v-if="index!= auditList.length - 1"></view>
 					<view class="row-line" v-if="index!= auditList.length - 1"></view>
 				</view>
 				</view>
-			
-	<!-- 		<view  class="audit">
-				<view>
-					<view class="row">
-						<view class="left">
-							<view class="item1">
-								<view class="item-content">长江</view> 
-								<view class='status question'>
-									<u-icon name="question" color="#f9ae3d" size="28"></u-icon>
-								</view>
-								
-							</view>
-							<view class="item2">
-								<view class="name">单证中心审核
-								</view>
-								<view class='time'>2022-10-14 15:17:15</view>
-								<view  class="status">共3人</view>
-							</view>
-						</view>
-						<view class="right">
-							<u-icon @click='showcontent' :name="showflow?'arrow-up':'arrow-down'"  size="28"></u-icon>
-						</view>
-					</view>
-					
-					
-				</view>
-			 	
-			 	<view class="row-line"></view>
-				<view class="row">
-					<view class="left">
-						<view class="item1">
-							<view class="item-content">大光</view> 
-							<view class='status error'>
-								<u-icon name="close" color="rgb(245, 108, 108)" size="28"></u-icon>
-							</view>
-							
-						</view>
-						<view class="item2">
-							<view class="name">决策人审核
-
-							</view>
-							<view class='time'>2022-10-14 15:17:15</view>
-							<view  class="status error">杜大光(已驳回)</view>
-							
-						</view>
-					</view>
-				</view>
-			 </view> -->
 			</view>
 			</view>
 		</u-form>
 		</u-form>
 		<view style='padding:10px;' class='flex bottom-btn'>
 		<view style='padding:10px;' class='flex bottom-btn'>
@@ -324,12 +281,14 @@
 					}).then(response => {
 					}).then(response => {
 						// uni.hideLoading()
 						// uni.hideLoading()
 						for (let i = 0; i < response.data.data.length; i++) {
 						for (let i = 0; i < response.data.data.length; i++) {
+							this.$set(response.data.data[i],'status','question')
 							console.log(response.data.data[i].workflowHistoricTasks,i)
 							console.log(response.data.data[i].workflowHistoricTasks,i)
 							if(response.data.data[i].commonStaffs){
 							if(response.data.data[i].commonStaffs){
+								response.data.data[i].showflow=false
 								response.data.data[i].operatorTitle=response.data.data[i].desc[0]
 								response.data.data[i].operatorTitle=response.data.data[i].desc[0]
 								response.data.data[i].operatorName=response.data.data[i].desc
 								response.data.data[i].operatorName=response.data.data[i].desc
 								response.data.data[i].staffscontent='共'+response.data.data[i].commonStaffs.length+'人,当前审核'+response.data.data[i].workflowHistoricTasks.length+'人'
 								response.data.data[i].staffscontent='共'+response.data.data[i].commonStaffs.length+'人,当前审核'+response.data.data[i].workflowHistoricTasks.length+'人'
-								if(response.data.data[i].workflowHistoricTasks){
+								if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
 									if(response.data.data[i].workflowHistoricTasks.length!=response.data.data[i].commonStaffs.length){
 									if(response.data.data[i].workflowHistoricTasks.length!=response.data.data[i].commonStaffs.length){
 										// response.data.data[i].status='question'
 										// response.data.data[i].status='question'
 										this.$set(response.data.data[i],'status','question')
 										this.$set(response.data.data[i],'status','question')
@@ -342,7 +301,6 @@
 									var staffsdata=response.data.data[i].commonStaffs
 									var staffsdata=response.data.data[i].commonStaffs
 									for (let q = 0; q < staffsdata.length; q++) {
 									for (let q = 0; q < staffsdata.length; q++) {
 										staffsdata[q].status=false
 										staffsdata[q].status=false
-										staffsdata[q].showflow=!staffsdata[q].showflow
 										staffsdata[q].staffTitle=staffsdata[q].staffName
 										staffsdata[q].staffTitle=staffsdata[q].staffName
 										for (let k = 0; k < workflowdata.length; k++) {
 										for (let k = 0; k < workflowdata.length; k++) {
 											if(staffsdata[q].staffId==workflowdata[k].operatorId){
 											if(staffsdata[q].staffId==workflowdata[k].operatorId){
@@ -353,10 +311,7 @@
 								}
 								}
 								response.data.data[i].commonStaffs1=response.data.data[i].commonStaffs
 								response.data.data[i].commonStaffs1=response.data.data[i].commonStaffs
 							}else{
 							}else{
-								console.log(111111111)
-								if(response.data.data[i].workflowHistoricTasks){
-									console.log(222222)
-									debugger
+								if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
 									this.$set(response.data.data[i],'status','success')
 									this.$set(response.data.data[i],'status','success')
 									response.data.data[i].operatorTitle=response.data.data[i].workflowHistoricTasks[0].operatorName[0]
 									response.data.data[i].operatorTitle=response.data.data[i].workflowHistoricTasks[0].operatorName[0]
 									response.data.data[i].operatorName=response.data.data[i].workflowHistoricTasks[0].operatorName
 									response.data.data[i].operatorName=response.data.data[i].workflowHistoricTasks[0].operatorName

+ 1 - 0
pages/task/audit/purchase_settlement_approval.vue

@@ -119,6 +119,7 @@
 			this.getList()
 			this.getList()
 		},
 		},
 		methods: {
 		methods: {
+			
 			getList(id) {
 			getList(id) {
 				this.$api.doRequest('get', '/stockPurchaseReceiptReport/getInfo', {
 				this.$api.doRequest('get', '/stockPurchaseReceiptReport/getInfo', {
 					id: this.id
 					id: this.id

+ 210 - 0
pages/task/audit/warehouse_approval.vue

@@ -71,6 +71,53 @@
 				</view>
 				</view>
 			</view>
 			</view>
 		</view>
 		</view>
+		<view class="content3">
+			<view class="title row">
+				流程
+			</view>
+			<view v-for="(item,index) in auditList" :key='index' class="audit">
+				<view class="row">
+					<view class="left">
+						<view class="item1">
+							<view class="item-content">{{item.operatorTitle}}</view> 
+							<view v-if="item.status=='success'" class='status success'>
+								<u-icon name="checkmark" color="#2979ff" size="28"></u-icon>
+							</view>
+							<view v-if="item.status=='error'" class='status error'>
+								<u-icon name="close" color="rgb(245, 108, 108)" size="28"></u-icon>
+							</view>
+							<view  v-if="item.status=='question'" class='status question'>
+								<u-icon name="question" color="#f9ae3d" size="28"></u-icon>
+							</view>
+						</view>
+						<view class="item2">
+							<view class="name">{{item.desc}}
+							</view>
+							<view class='time'>{{item.updateDate}}</view>
+							<view  v-if="item.status=='success'" class="status success">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>已审核</text></view>
+							<!-- <view  v-if="item.status='error'" class="status error">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已审核":'未审核'}}</text></view> -->
+							<view  v-if="item.status=='question'" class="status question">{{item.commonStaffs1?item.staffscontent:''}}<text v-if='!item.commonStaffs1'>未审核</text></view>
+							<!-- <view  class="status success">吕波(已审核)</view> -->
+						</view>
+					</view>
+					<view v-if='item.commonStaffs1' class="right">
+						<u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'"  size="28"></u-icon>
+					</view>
+				</view>
+				<view v-if='item.showflow' style='padding:10px 0 0 50px;'>
+					<view class='row2'>
+						<view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
+							<view class="item-content">
+								<u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
+								<u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
+							</view> 
+							<view class="name">{{item1.staffName}}</view> 
+						</view>
+					</view>
+				</view>
+				<view class="row-line" v-if="index!= auditList.length - 1"></view>
+			</view>
+		</view>
 		<view v-if='show1' class="shade">
 		<view v-if='show1' class="shade">
 			<view class="wrap">
 			<view class="wrap">
 				<view class="alert-top">
 				<view class="alert-top">
@@ -142,6 +189,7 @@
 				rejectInfo1: "",
 				rejectInfo1: "",
 				id: 0,
 				id: 0,
 				list: {},
 				list: {},
+				auditList:[],
 				pcUserInfo: uni.getStorageSync('pcUserInfo'),
 				pcUserInfo: uni.getStorageSync('pcUserInfo'),
 				switchVal: false,
 				switchVal: false,
 				contractNoList: []
 				contractNoList: []
@@ -174,6 +222,9 @@
 				this.show1 = false
 				this.show1 = false
 				this.show2 = false
 				this.show2 = false
 			},
 			},
+			showcontent(item){
+				item.showflow=!item.showflow
+			},
 			getData() {
 			getData() {
 				var data = []
 				var data = []
 				this.$api.doRequest('get', '/purchasePrice/purchasePriceLook', {
 				this.$api.doRequest('get', '/purchasePrice/purchasePriceLook', {
@@ -183,6 +234,63 @@
 						this.list = res.data.data
 						this.list = res.data.data
 					}
 					}
 				})
 				})
+				this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
+					businessCode: 'PROCUREMENT-PRICE-APPROVE',
+					tmpCompId: uni.getStorageSync('pcUserInfo').compId
+				}).then(res1 => {
+					this.$api.doRequest('get', '/commonUser/getHis', {
+						workflowId: res1.data.data[0].id,
+						businessKey: this.id
+					}).then(response => {
+						// uni.hideLoading()
+						for (let i = 0; i < response.data.data.length; i++) {
+							this.$set(response.data.data[i],'status','question')
+							console.log(response.data.data[i].workflowHistoricTasks,i)
+							if(response.data.data[i].commonStaffs){
+								response.data.data[i].showflow=false
+								response.data.data[i].operatorTitle=response.data.data[i].desc[0]
+								response.data.data[i].operatorName=response.data.data[i].desc
+								response.data.data[i].staffscontent='共'+response.data.data[i].commonStaffs.length+'人,当前审核'+response.data.data[i].workflowHistoricTasks.length+'人'
+								if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
+									if(response.data.data[i].workflowHistoricTasks.length!=response.data.data[i].commonStaffs.length){
+										// response.data.data[i].status='question'
+										this.$set(response.data.data[i],'status','question')
+									}else{
+										this.$set(response.data.data[i],'status','success')
+										// response.data.data[i].status='success'
+									}
+									response.data.data[i].workflowlen=response.data.data[i].workflowHistoricTasks.length
+									var workflowdata=response.data.data[i].workflowHistoricTasks
+									var staffsdata=response.data.data[i].commonStaffs
+									for (let q = 0; q < staffsdata.length; q++) {
+										staffsdata[q].status=false
+										staffsdata[q].staffTitle=staffsdata[q].staffName
+										for (let k = 0; k < workflowdata.length; k++) {
+											if(staffsdata[q].staffId==workflowdata[k].operatorId){
+												staffsdata[q].status=true
+											}
+										}
+									}
+								}
+								response.data.data[i].commonStaffs1=response.data.data[i].commonStaffs
+							}else{
+								if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
+									this.$set(response.data.data[i],'status','success')
+									response.data.data[i].operatorTitle=response.data.data[i].workflowHistoricTasks[0].operatorName[0]
+									response.data.data[i].operatorName=response.data.data[i].workflowHistoricTasks[0].operatorName
+								}else{
+									this.$set(response.data.data[i],'status','question')
+									// response.data.data[i].status='question'
+									response.data.data[i].operatorTitle=response.data.data[i].desc[0]
+									response.data.data[i].operatorName=response.data.data[i].desc
+								}
+							}
+							
+						}
+						console.log(response.data.data)
+						this.auditList = response.data.data
+					})
+				})
 			},
 			},
 			confirm(item) {
 			confirm(item) {
 				this.list.contractNo = item[0].value
 				this.list.contractNo = item[0].value
@@ -480,4 +588,106 @@
 		right: 0;
 		right: 0;
 		color: #22C572;
 		color: #22C572;
 	}
 	}
+	.content3 {
+		background: white;
+		margin: 20rpx 0;
+		border-radius: 20rpx;
+		padding: 20rpx;
+	
+		.row {
+			display: flex;
+			justify-content: space-between;
+	
+			.left {
+				display: flex;
+				align-items: center;
+				.item1{
+					position:relative;
+					.item-content{
+						background:#22C572;
+					    width: 50px;
+					    height: 50px;
+					    border-radius: 50%;
+					    line-height: 50px;
+					    text-align: center;
+					    font-size: 20px;
+					    color: #fff;
+					}
+					.status{
+						position:absolute;
+						border-radius: 50%;
+						padding: 1px 2px;
+						right: 0;
+						bottom: 0;
+						background:#fff;
+					}
+					.status.success{
+						border:1px solid rgb(60, 156, 255);
+					}
+					.status.error{
+						border:1px solid rgb(245, 108, 108);
+					}
+					.status.question{
+						border:1px solid #f9ae3d;
+					}
+				}
+				.item2 {
+					margin-left: 20rpx;
+	
+					.name {
+						font-size: 32rpx;
+						font-weight: 800;
+					}
+	
+					.status.success {
+						color: #6CC48C;
+					}
+					.status.error {
+						color: rgb(245, 108, 108);
+					}
+					.status.question {
+						color: #f9ae3d;
+					}
+					.time{
+						color:#999;
+					}
+				}
+			}
+	
+			.right {
+				color: #B0B1B5;
+				margin-top: 10px;
+			}
+		}
+		.row2{
+			display:flex;
+			.item-content{
+				background:#22C572;
+			    width: 30px;
+			    height: 30px;
+			    border-radius: 50%;
+			    line-height: 30px;
+			    text-align: center;
+			    font-size: 12px;
+			    color: #fff;
+				padding:0 2px;
+				margin:0 auto;
+			}
+			.status{
+				position:absolute;
+				top:0;right:0;
+			}
+		}
+		.row-line {
+			width: 1px;
+			height: 30px;
+			background: #F2F2F2;
+			margin: 10rpx 50rpx;
+	
+		}
+	
+		.audit {
+			margin-top: 20rpx;
+		}
+	}
 </style>
 </style>