|
|
@@ -112,7 +112,7 @@
|
|
|
<!-- </el-table-column>-->
|
|
|
<el-table-column prop="remarks" label="备注">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input v-model="scope.row.remark" type="textarea" :autosize="{ minRows: 4}" @change="workComment(scope.row)">
|
|
|
+ <el-input v-model="scope.row.remark" :readonly="workRemarkReadOnly" type="textarea" :autosize="{ minRows: 4}" @change="workComment(scope.row)">
|
|
|
</el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
@@ -276,7 +276,8 @@ export default {
|
|
|
row:null,
|
|
|
workScoreVisible:false,
|
|
|
meetingConfirms:[],
|
|
|
- permissions:null
|
|
|
+ permissions:null,
|
|
|
+ workRemarkReadOnly:true,
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
@@ -321,6 +322,10 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ let userName=this.$store.getters.name
|
|
|
+ if((userName===meeting.recorder || userName===meeting.emcee) && meeting.status!==2 ){
|
|
|
+ this.workRemarkReadOnly=false
|
|
|
+ }
|
|
|
},
|
|
|
getData() {
|
|
|
let loginUserId=this.$store.getters.userId
|