|
@@ -47,8 +47,10 @@ export default {
|
|
|
created() {},
|
|
|
methods: {
|
|
|
changeJob(data) {
|
|
|
- this.show = true;
|
|
|
- this.$set(this, `form`, _.cloneDeep(data));
|
|
|
+ if (this.user.job == '班长') {
|
|
|
+ this.show = true;
|
|
|
+ this.$set(this, `form`, _.cloneDeep(data));
|
|
|
+ }
|
|
|
},
|
|
|
toSelect({ name: job }) {
|
|
|
let info = _.cloneDeep(this.form);
|