|
|
@ -20,7 +20,7 @@ |
|
|
|
<el-input :disabled="isDetail || item == 0" v-model.trim="projectManage.projectName" placeholder="20个字符以内" @blur="projectNameExistis"></el-input> |
|
|
|
<el-input :disabled="isDetail || item == 0" v-model.trim="projectManage.projectName" placeholder="20个字符以内" @blur="projectNameExistis"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="项目权限"> |
|
|
|
<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="0"></el-option> |
|
|
|
<el-option label="考核" :value="1"></el-option> |
|
|
|
<el-option label="考核" :value="1"></el-option> |
|
|
|
<el-option label="竞赛" :value="2"></el-option> |
|
|
|
<el-option label="竞赛" :value="2"></el-option> |
|
|
@ -631,6 +631,13 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
location.href = href; |
|
|
|
location.href = href; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
permissionChange(){ |
|
|
|
|
|
|
|
if (this.projectManage.permissions == 1){ |
|
|
|
|
|
|
|
this.projectManage.hintOpen = 1 |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
this.projectManage.hintOpen = 0 |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
// 行拖拽 |
|
|
|
// 行拖拽 |
|
|
|
rowDrop() { |
|
|
|
rowDrop() { |
|
|
|
// 此时找到的元素是要拖拽元素的父容器 |
|
|
|
// 此时找到的元素是要拖拽元素的父容器 |
|
|
|