dev_2022-05-11 职站V2.1
e 3 years ago
parent e9d767667c
commit 95a42a09f3
  1. 9
      src/pages/project/add/index.vue

@ -20,7 +20,7 @@
<el-input :disabled="isDetail || item == 0" v-model.trim="projectManage.projectName" placeholder="20个字符以内" @blur="projectNameExistis"></el-input>
</el-form-item>
<el-form-item label="项目权限">
<el-select :disabled="isDetail || item == 0" v-model="projectManage.permissions" placeholder="请选择">
<el-select :disabled="isDetail || item == 0" v-model="projectManage.permissions" placeholder="请选择" @change="permissionChange">
<el-option label="练习" :value="0"></el-option>
<el-option label="考核" :value="1"></el-option>
<el-option label="竞赛" :value="2"></el-option>
@ -631,6 +631,13 @@ export default {
}
location.href = href;
},
permissionChange(){
if (this.projectManage.permissions == 1){
this.projectManage.hintOpen = 1
}else{
this.projectManage.hintOpen = 0
}
},
//
rowDrop() {
//

Loading…
Cancel
Save