|  | @@ -26,14 +26,15 @@
 | 
	
		
			
				|  |  |      </el-form>
 | 
	
		
			
				|  |  |      <span slot="footer" class="dialog-footer">
 | 
	
		
			
				|  |  |        <el-button @click="closeDia">关闭</el-button>
 | 
	
		
			
				|  |  | -      <el-button @click="approvalRejected" v-preventReClick>审批驳回</el-button>
 | 
	
		
			
				|  |  | -      <el-button @click="approved" v-preventReClick>审批通过</el-button>
 | 
	
		
			
				|  |  | +      <el-button @click="approvalRejected">审批驳回</el-button>
 | 
	
		
			
				|  |  | +      <el-button @click="approved">审批通过</el-button>
 | 
	
		
			
				|  |  |      </span>
 | 
	
		
			
				|  |  |    </el-dialog>
 | 
	
		
			
				|  |  |  </template>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  <script>
 | 
	
		
			
				|  |  |  import { listCharge } from '@/api/system/startApproval'
 | 
	
		
			
				|  |  | +import { queryUserVal } from '@/api/warehouseBusiness/agreement'
 | 
	
		
			
				|  |  |    export default {
 | 
	
		
			
				|  |  |      name: 'startApproval',
 | 
	
		
			
				|  |  |      data () {
 | 
	
	
		
			
				|  | @@ -55,9 +56,14 @@ import { listCharge } from '@/api/system/startApproval'
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      methods: {
 | 
	
		
			
				|  |  |        init (id,actId) {
 | 
	
		
			
				|  |  | +        // 默认录入人
 | 
	
		
			
				|  |  | +        queryUserVal().then((response)=>{
 | 
	
		
			
				|  |  | +          this.dataForm.auditUserId = response.user.userName
 | 
	
		
			
				|  |  | +        })
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          this.visible = true
 | 
	
		
			
				|  |  |          if (typeof id === 'undefined' || typeof actId === 'undefined') {
 | 
	
		
			
				|  |  | -          this.$message.error('未检测到工程信息,请指定工程')
 | 
	
		
			
				|  |  | +          this.$message.error('未检测到对应信息,请选择')
 | 
	
		
			
				|  |  |            return false
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          this.dataForm.id = id
 |