【修改】修改样式
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="9" style="margin-left: 5px">
|
||||
<el-button size="medium" type="primary" class="checkBtn" @click="handleCheck('spr1')">选取</el-button>
|
||||
<el-button size="medium" :disabled="checkBtn" type="primary" class="checkBtn" @click="handleCheck('spr1')">选取</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
@@ -78,6 +78,7 @@ export default {
|
||||
mixins: [processMixin],
|
||||
data() {
|
||||
return {
|
||||
checkBtn:false,
|
||||
isLevel: true,
|
||||
dataId:'',
|
||||
showTableD: false,
|
||||
@@ -137,7 +138,7 @@ export default {
|
||||
this.$refs.assignFormRef.clearValidate()
|
||||
})
|
||||
})
|
||||
|
||||
this.getLearder()
|
||||
}
|
||||
else if (this.$route.query.taskDefinitionKey == 'reEdit' ) {
|
||||
this.taskId = this.$store.getters.handleProcess.taskId
|
||||
@@ -152,6 +153,7 @@ export default {
|
||||
this.processForm=JSON.parse(this.processOld.dataJson)
|
||||
this.$set(this.assignForm,'oneApprove',submitJson.oneApprove)
|
||||
this.$set(this.assignForm,'oneApproveName',submitJson.oneApproveName)
|
||||
this.getLearder()
|
||||
|
||||
}
|
||||
else if (this.$route.query.type == 'yiban') {
|
||||
@@ -173,10 +175,13 @@ export default {
|
||||
this.isShowSave = true
|
||||
this.$store.commit('setHandleProcess','')
|
||||
this.handleReset()
|
||||
if(this.$store.getters.userInfo.levelId=='0.5'){
|
||||
if(this.$store.getters.userInfo.levelId=='1' || this.$store.getters.userInfo.levelId=='2'
|
||||
||this.$store.getters.userInfo.levelId=='3' || this.$store.getters.userInfo.levelId=='4'
|
||||
||this.$store.getters.userInfo.EmployeeTypeID=='1' ){
|
||||
this.isShowSave = false
|
||||
this.isLevel=false
|
||||
}else{
|
||||
this.getLearder()
|
||||
this.isLevel = true
|
||||
this.isShowSave = true
|
||||
}
|
||||
@@ -201,6 +206,22 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 获取领导
|
||||
getLearder(){
|
||||
console.log("获取领导")
|
||||
this.$api.reportProcess.getLeader({
|
||||
userId:this.userId
|
||||
}).then(res=>{
|
||||
debugger
|
||||
})
|
||||
// if(res.data){
|
||||
// this.assignForm.oneApprove=res.userId
|
||||
// this.assignForm.oneApproveName=res.userName
|
||||
// this.checkBtn=true
|
||||
// }else{
|
||||
// this.checkBtn=false
|
||||
// }
|
||||
},
|
||||
// 查询文件名称
|
||||
getFileName(){
|
||||
this.$api.reportProcess.searchFile({fileId:this.processForm.fileId}).then(res=>{
|
||||
|
||||
Reference in New Issue
Block a user