浏览代码

Merge branch 'need_pool363' into debug

shanbinzhang 1 月之前
父节点
当前提交
acc70a99f4
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/views/system_manage/departManage.vue

+ 4 - 4
src/views/system_manage/departManage.vue

@@ -252,7 +252,7 @@
 				<img :src="groupForm.title==$t('SystemManage.DepartManage.group_add')?$icons.add:$icons.edit" style="color:#fff;width:16px;height:16px;marginRight:5px;">
 				<span style="fontSize:16px;">{{groupForm.title}}</span>
 			</div>
-			<el-form @submit.native.prevent :rules="groupRule" ref="groupForm" label-width="110px" class="demo-ruleForm" style="marginTop:15px;">
+			<el-form @submit.native.prevent :model="groupForm" :rules="groupRule" ref="groupForm" label-width="110px" class="demo-ruleForm" style="marginTop:15px;">
 				<el-form-item :label="$t('SystemManage.DepartManage.depart')" prop="depart">
 					<span style="fontSize:16px;">{{groupForm.depart}}</span>
 				</el-form-item>
@@ -432,9 +432,9 @@ export default {
 				depart_id:'',
 			},//分组表单
 			groupRule:{
-				group:[
-					{ required: true, message: '请添加分组', trigger: 'blur' },
-				]
+				// group:[
+				// 	{ required: true, message: '请添加分组', trigger: 'blur' },
+				// ]
 			},//分组校验
 			isEditGroup:false,//编辑分组
 			editGroupForm:{