|  | @@ -31,7 +31,7 @@
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |            <el-form-item
 |  |            <el-form-item
 | 
												
													
														
															|  |              label="审核"
 |  |              label="审核"
 | 
												
													
														
															|  | -            v-if="this.params.closeAudit"
 |  | 
 | 
												
													
														
															|  | 
 |  | +            v-if="this.params.closeAudit && (this.dataJurisdiction == '1' ? true : false)"
 | 
												
													
														
															|  |            >
 |  |            >
 | 
												
													
														
															|  |              <!-- this.params.row.auditStatus -->
 |  |              <!-- this.params.row.auditStatus -->
 | 
												
													
														
															|  |              <el-radio-group v-model="form.resource">
 |  |              <el-radio-group v-model="form.resource">
 | 
												
											
												
													
														
															|  | @@ -78,7 +78,7 @@ export default {
 | 
												
													
														
															|  |          auditStatus: '',
 |  |          auditStatus: '',
 | 
												
													
														
															|  |          resource: '1'
 |  |          resource: '1'
 | 
												
													
														
															|  |        },
 |  |        },
 | 
												
													
														
															|  | -      // dataJurisdiction: '',//是否含有审核权限
 |  | 
 | 
												
													
														
															|  | 
 |  | +      dataJurisdiction: '',//是否含有审核权限
 | 
												
													
														
															|  |      };
 |  |      };
 | 
												
													
														
															|  |    },
 |  |    },
 | 
												
													
														
															|  |  
 |  |  
 | 
												
											
												
													
														
															|  | @@ -122,13 +122,14 @@ export default {
 | 
												
													
														
															|  |        }
 |  |        }
 | 
												
													
														
															|  |      },
 |  |      },
 | 
												
													
														
															|  |      // /czc-community/workOrder/checkAudit
 |  |      // /czc-community/workOrder/checkAudit
 | 
												
													
														
															|  | -    // checkAudit () {
 |  | 
 | 
												
													
														
															|  | -    //   this.$http.postForm('/czc-community/workOrder/checkAudit', { orderId: Number(this.params.row.id) }).then(({ data, status, msg }) => {
 |  | 
 | 
												
													
														
															|  | -    //     if (status == 0) {
 |  | 
 | 
												
													
														
															|  | -    //       this.dataJurisdiction = data;
 |  | 
 | 
												
													
														
															|  | -    //     }
 |  | 
 | 
												
													
														
															|  | -    //   })
 |  | 
 | 
												
													
														
															|  | -    // }
 |  | 
 | 
												
													
														
															|  | 
 |  | +    checkAudit () {
 | 
												
													
														
															|  | 
 |  | +      this.$http.postForm('/czc-community/workOrder/checkAudit', { orderId: Number(this.params.row.id) }).then(({ data, status, msg }) => {
 | 
												
													
														
															|  | 
 |  | +        if (status == 0) {
 | 
												
													
														
															|  | 
 |  | +          debugger
 | 
												
													
														
															|  | 
 |  | +          this.dataJurisdiction = data;
 | 
												
													
														
															|  | 
 |  | +        }
 | 
												
													
														
															|  | 
 |  | +      })
 | 
												
													
														
															|  | 
 |  | +    }
 | 
												
													
														
															|  |    },
 |  |    },
 | 
												
													
														
															|  |    created () {
 |  |    created () {
 | 
												
													
														
															|  |      // this.formData.orderId = JSON.parse(JSON.stringify(this.params.data)).id;
 |  |      // this.formData.orderId = JSON.parse(JSON.stringify(this.params.data)).id;
 | 
												
											
												
													
														
															|  | @@ -141,7 +142,7 @@ export default {
 | 
												
													
														
															|  |        this.form.resource = '0';
 |  |        this.form.resource = '0';
 | 
												
													
														
															|  |      }
 |  |      }
 | 
												
													
														
															|  |      if (this.params.row.auditStatus != null) {
 |  |      if (this.params.row.auditStatus != null) {
 | 
												
													
														
															|  | -      // this.checkAudit();
 |  | 
 | 
												
													
														
															|  | 
 |  | +      this.checkAudit();
 | 
												
													
														
															|  |      }
 |  |      }
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |    }
 |  |    }
 |