瀏覽代碼

need: 添加提示

shanbinzhang 1 月之前
父節點
當前提交
1ea9fbe0b9
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/system_manage/departManage.vue

+ 2 - 2
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 :model="groupForm" :rules="groupRule" ref="groupForm" label-width="110px" class="demo-ruleForm" style="marginTop:15px;">
+			<el-form @submit.native.prevent :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>
@@ -873,7 +873,7 @@ export default {
 						GroupName:groupArr.join(',')
 					})
 						if(res.Ret === 200) {
-							this.$message.success(this.$t('MsgPrompt.add_msg'))
+							this.$message.success('保存成功')
 							this.isAddGroup = false;
 							this.groupForm = {
 								title:this.$t('SystemManage.DepartManage.group_add'),